diff options
| author | Stephen Blott | 2016-02-27 16:16:53 +0000 |
|---|---|---|
| committer | Stephen Blott | 2016-03-05 05:37:40 +0000 |
| commit | 560112448d00fc9c69c9db03de8fdd5412c700dc (patch) | |
| tree | 7457cb5128d1dc05bdf3250eea7c27f0f74c1447 /content_scripts | |
| parent | 6487c09d98b791b3211679d2f1bf970394a696e6 (diff) | |
| download | vimium-560112448d00fc9c69c9db03de8fdd5412c700dc.tar.bz2 | |
Key bindings; rewire vomnibar (tweaked).
Diffstat (limited to 'content_scripts')
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 4acac352..5c594d1c 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -135,9 +135,6 @@ window.initializeModes = -> new InsertMode permanent: true Scroller.init() -openVomnibar = ({sourceFrameId, registryEntry}) -> - Utils.invokeCommandString registryEntry.command, [sourceFrameId, registryEntry] if DomUtils.isTopFrame() - # # Complete initialization work that sould be done prior to DOMReady. # @@ -153,7 +150,8 @@ initializePreDomReady = -> # A frame has received the focus. We don't care here (the Vomnibar/UI-component handles this). frameFocused: -> checkEnabledAfterURLChange: checkEnabledAfterURLChange - openVomnibar: openVomnibar + openVomnibar: ({sourceFrameId, registryEntry}) -> + Utils.invokeCommandString registryEntry.command, [sourceFrameId, registryEntry] if DomUtils.isTopFrame() chrome.runtime.onMessage.addListener (request, sender, sendResponse) -> # In the options page, we will receive requests from both content and background scripts. ignore those |
