remove delay from url update #530

This commit is contained in:
Hakim El Hattab 2013-07-19 09:23:17 -04:00
parent 1bb810e072
commit 5cb9a58938
2 changed files with 5 additions and 6 deletions

View file

@ -1338,10 +1338,6 @@ var Reveal = (function(){
activateOverview(); activateOverview();
} }
// Update the URL hash after a delay since updating it mid-transition
// is likely to cause visual lag
writeURL( 1500 );
// Find the current horizontal slide and any possible vertical slides // Find the current horizontal slide and any possible vertical slides
// within it // within it
var currentHorizontalSlide = horizontalSlides[ indexh ], var currentHorizontalSlide = horizontalSlides[ indexh ],
@ -1413,6 +1409,9 @@ var Reveal = (function(){
updateProgress(); updateProgress();
updateBackground(); updateBackground();
// Update the URL hash
writeURL();
} }
/** /**

4
js/reveal.min.js vendored

File diff suppressed because one or more lines are too long