Browse Source

remove delay from url update #530

Hakim El Hattab 11 years ago
parent
commit
5cb9a58938
2 changed files with 4 additions and 5 deletions
  1. 3 4
      js/reveal.js
  2. 1 1
      js/reveal.min.js

+ 3 - 4
js/reveal.js

@@ -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();
+
 	}
 
 	/**

File diff suppressed because it is too large
+ 1 - 1
js/reveal.min.js


Some files were not shown because too many files changed in this diff