diff options
| author | Stephen Blott | 2018-01-19 11:00:44 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2018-01-19 11:00:44 +0000 | 
| commit | a461d8d5ecd1aee1ae4cd28b1e0d12dc04adc152 (patch) | |
| tree | d9bbf9ba3f94e1971daa3e708a803ade8c626118 /content_scripts/vimium_frontend.coffee | |
| parent | 50b61b864e90b3c5c794e76bd8babe51587138d3 (diff) | |
| download | vimium-a461d8d5ecd1aee1ae4cd28b1e0d12dc04adc152.tar.bz2 | |
Fix bug on hashchange event.
This handler is undefined at the point that it is installed.  The
definition is at the bottom of the file.
Diffstat (limited to 'content_scripts/vimium_frontend.coffee')
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 3a9e182d..594175ab 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -189,7 +189,7 @@ onFocus = forTrusted (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", checkEnabledAfterURLChange +window.addEventListener "hashchange", -> checkEnabledAfterURLChange()  initializeOnDomReady = ->    # Tell the background page we're in the domReady state. | 
