From 410e81f41a8bd0328ea261c358cbd8bc154d020b Mon Sep 17 00:00:00 2001 From: mrmr1993 Date: Fri, 10 Mar 2017 15:47:38 +0000 Subject: Use the appropriate handler for hashChange --- content_scripts/vimium_frontend.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content_scripts') 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. -- cgit v1.2.3