aboutsummaryrefslogtreecommitdiff
path: root/js/reveal.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/reveal.js b/js/reveal.js
index c2769e5..b08580b 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -664,6 +664,8 @@ var Reveal = (function(){
updateControls();
+ // Update the URL hash after a delay since updating it mid-transition
+ // is likely to cause visual lag
clearTimeout( writeURLTimeout );
writeURLTimeout = setTimeout( writeURL, 1500 );