diff options
| author | Stephen Blott | 2016-02-28 06:48:03 +0000 |
|---|---|---|
| committer | Stephen Blott | 2016-03-05 05:38:30 +0000 |
| commit | f89b58f04af3eae05de9e999c39b2fe047fe6f4a (patch) | |
| tree | 6a544ed83a8452507b1a929a48026d14294c6c84 /content_scripts/vimium_frontend.coffee | |
| parent | 18b8db13fa5184e0cc3ac5fd6645620fdb9d5cef (diff) | |
| download | vimium-f89b58f04af3eae05de9e999c39b2fe047fe6f4a.tar.bz2 | |
Key bindings; more tweaks and fixes.
Miscellaneous fixes and tweaks, including:
- Reinstate key logging.
- Fix count handling in line with expected behaviour in #2024.
- Remove `noCount` option; we don't need it.
- Simplify logic in various places.
Fixes #2024.
Diffstat (limited to 'content_scripts/vimium_frontend.coffee')
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 5c594d1c..3220b084 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -7,7 +7,6 @@ isEnabledForUrl = true isIncognitoMode = chrome.extension.inIncognitoContext -passKeys = null # We track whther the current window has the focus or not. windowIsFocused = do -> @@ -162,7 +161,7 @@ initializePreDomReady = -> return if request.handler and not request.name shouldHandleRequest = isEnabledForUrl # We always handle the message if it's one of these listed message types. - shouldHandleRequest ||= request.name in [ "checkEnabledAfterURLChange" ] + shouldHandleRequest ||= request.name in ["checkEnabledAfterURLChange", "openVomnibar"] sendResponse requestHandlers[request.name](request, sender) if shouldHandleRequest # Ensure the sendResponse callback is freed. false |
