Skip to content

Commit

Permalink
Specify useCapture arg for broadest compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
mjackson committed Feb 17, 2015
1 parent c7d03a5 commit 0edfac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/locations/HistoryLocation.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ var HistoryLocation = {

if (_changeListeners.length === 0) {
if (window.addEventListener) {
window.removeEventListener('popstate', onPopState);
window.removeEventListener('popstate', onPopState, false);
} else {
window.removeEvent('onpopstate', onPopState);
}
Expand Down

0 comments on commit 0edfac4

Please sign in to comment.