From 5cb9a58938a5808c83d01f3c73ccb36edcbe0756 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Fri, 19 Jul 2013 09:23:17 -0400 Subject: remove delay from url update #530 --- js/reveal.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'js/reveal.js') diff --git a/js/reveal.js b/js/reveal.js index 651b1be..560c94f 100644 --- a/js/reveal.js +++ b/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(); + } /** -- cgit v1.2.3