Skip to content

Commit

Permalink
sad but true ... history.pushState is too buggy to be useful at thi…
Browse files Browse the repository at this point in the history
…s point
  • Loading branch information
bartaz committed Mar 7, 2012
1 parent 45fcf19 commit 8a0b80d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/impress.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
// BUG: http://code.google.com/p/chromium/issues/detail?id=62820
window.clearTimeout( hashTimeout );
hashTimeout = window.setTimeout(function () {
history.pushState({}, '', '#' + el.id);
window.location.hash = "#/" + el.id;
}, 1000);

var target = {
Expand Down

0 comments on commit 8a0b80d

Please sign in to comment.