aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormrmr19932017-03-10 15:47:38 +0000
committermrmr19932017-03-10 15:47:38 +0000
commit410e81f41a8bd0328ea261c358cbd8bc154d020b (patch)
tree5c5f58f17430d31b9955196e395b1d69a044bd10
parente08e379876398c0a02796d02ba22bfd5ceae8730 (diff)
downloadvimium-410e81f41a8bd0328ea261c358cbd8bc154d020b.tar.bz2
Use the appropriate handler for hashChange
-rw-r--r--content_scripts/vimium_frontend.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee
index 93238642..2331a8cf 100644
--- a/content_scripts/vimium_frontend.coffee
+++ b/content_scripts/vimium_frontend.coffee
@@ -224,7 +224,7 @@ onFocus = (event) ->
# We install these listeners directly (that is, we don't use installListener) because we still need to receive
# events when Vimium is not enabled.
window.addEventListener "focus", onFocus
-window.addEventListener "hashchange", onFocus
+window.addEventListener "hashchange", checkEnabledAfterURLChange
initializeOnDomReady = ->
# Tell the background page we're in the domReady state.