diff options
| author | Stephen Blott | 2014-08-23 18:32:41 +0100 |
|---|---|---|
| committer | Stephen Blott | 2014-08-23 18:39:25 +0100 |
| commit | 4dd09f77141b01d2ce99866cb52efc985f4f18a4 (patch) | |
| tree | b922946915a47ae08c8ac4596207f95e7d37d927 /content_scripts | |
| parent | eeda751f54fd67bb895541264fcf2b5eb91b2556 (diff) | |
| download | vimium-4dd09f77141b01d2ce99866cb52efc985f4f18a4.tar.bz2 | |
Allow passing of keys to the underlying page (fix/maintain order of exclusion list).
Diffstat (limited to 'content_scripts')
| -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 feebda07..34473e96 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -117,10 +117,9 @@ initializePreDomReady = -> getScrollPosition: -> scrollX: window.scrollX, scrollY: window.scrollY setScrollPosition: (request) -> setScrollPosition request.scrollX, request.scrollY executePageCommand: executePageCommand - # FIXME: currentKeyQueue(), below, does not respect the frameId. Should it? - currentKeyQueue: (request) -> keyQueue = request.keyQueue getActiveState: -> { enabled: isEnabledForUrl } disableVimium: disableVimium + currentKeyQueue: (request) -> keyQueue = request.keyQueue chrome.runtime.onMessage.addListener (request, sender, sendResponse) -> # in the options page, we will receive requests from both content and background scripts. ignore those |
