Skip to content

Commit

Permalink
2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceK33z committed Dec 1, 2016
1 parent 4263b5e commit 125cd50
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
9 changes: 1 addition & 8 deletions build/tarantino.js
Original file line number Diff line number Diff line change
Expand Up @@ -881,14 +881,7 @@ var listener = {
|| document.documentMode > 7)) {
// At least for now HTML5 history is available for 'modern' browsers only
if (this.history === true) {
// There is an old bug in Chrome that causes onpopstate to fire even
// upon initial page load. Since the handler is run manually in init(),
// this would cause Chrome to run it twise. Currently the only
// workaround seems to be to set the handler after the initial page load
// http://code.google.com/p/chromium/issues/detail?id=63040
setTimeout(function() {
window.onpopstate = onchange;
}, 500);
window.onpopstate = onchange;
}
else {
window.onhashchange = onchange;
Expand Down
Loading

0 comments on commit 125cd50

Please sign in to comment.