We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a972414 commit 502db29Copy full SHA for 502db29
index.js
@@ -81,7 +81,7 @@
81
_window.document.removeEventListener(clickEvent, this.clickHandler, false);
82
}
83
84
- if(this._hashbang && hasWindow && !this._popstate) {
+ if(this._hashbang && hasWindow && (!hasHistory || !this._popstate)) {
85
_window.addEventListener('hashchange', this._onpopstate, false);
86
} else if(hasWindow) {
87
_window.removeEventListener('hashchange', this._onpopstate, false);
0 commit comments