Skip to content

Commit 0edfac4

Browse files
committed
Specify useCapture arg for broadest compatibility
1 parent c7d03a5 commit 0edfac4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/locations/HistoryLocation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ var HistoryLocation = {
5555

5656
if (_changeListeners.length === 0) {
5757
if (window.addEventListener) {
58-
window.removeEventListener('popstate', onPopState);
58+
window.removeEventListener('popstate', onPopState, false);
5959
} else {
6060
window.removeEvent('onpopstate', onPopState);
6161
}

0 commit comments

Comments
 (0)