Browse Source

remove delay from url update #530

embed
Hakim El Hattab 12 years ago
parent
commit
5cb9a58938
  1. 7
      js/reveal.js
  2. 4
      js/reveal.min.js

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

4
js/reveal.min.js

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save