Skip to content

Commit

Permalink
remove delay from url update #530
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed Jul 19, 2013
1 parent 1bb810e commit 5cb9a58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions js/reveal.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ],
Expand Down Expand Up @@ -1413,6 +1409,9 @@ var Reveal = (function(){
updateProgress();
updateBackground();

// Update the URL hash
writeURL();

}

/**
Expand Down
Loading

0 comments on commit 5cb9a58

Please sign in to comment.