remove delay from url update #530

This commit is contained in:
Hakim El Hattab committed 2013-07-19 09:23:22 -04:00
1 parent 1bb810e072
commit 5cb9a58938
2 files changed
+5 -6

No files matched your search

+3 -4
View File
@@ -1338,10 +1338,6 @@ var Reveal = (function(){
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
// within it
var currentHorizontalSlide = horizontalSlides[ indexh ],
@@ -1413,6 +1409,9 @@ var Reveal = (function(){
updateProgress();
updateBackground();
// Update the URL hash
writeURL();
}
/**