diff options
| author | Stephen Blott | 2015-03-17 09:34:43 +0000 |
|---|---|---|
| committer | Stephen Blott | 2015-03-17 09:34:43 +0000 |
| commit | e65f4d4e8a498e34a18c64898cb7425caee9fdc0 (patch) | |
| tree | 87c2eabdc1f12ffa0b6ed19a79e22bb4e3e77ed7 /content_scripts | |
| parent | efada88f419933c5bd1478faada3b4eff3082103 (diff) | |
| download | vimium-e65f4d4e8a498e34a18c64898cb7425caee9fdc0.tar.bz2 | |
Activate vomnibar in window.top; minor clean up.
Diffstat (limited to 'content_scripts')
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 1 | ||||
| -rw-r--r-- | content_scripts/vomnibar.coffee | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index cdb47613..eb951c33 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -287,7 +287,6 @@ setScrollPosition = (scrollX, scrollY) -> # Called from the backend in order to change frame focus. # window.focusThisFrame = (shouldHighlight) -> - console.log "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" if window.innerWidth < 3 or window.innerHeight < 3 # This frame is too small to focus. Cancel and tell the background frame to focus the next one instead. # This affects sites like Google Inbox, which have many tiny iframes. See #1317. diff --git a/content_scripts/vomnibar.coffee b/content_scripts/vomnibar.coffee index c2b7fc5b..823dcd01 100644 --- a/content_scripts/vomnibar.coffee +++ b/content_scripts/vomnibar.coffee @@ -50,8 +50,7 @@ Vomnibar = # query - Optional. Text to prefill the Vomnibar with. # selectFirst - Optional, boolean. Whether to select the first entry. # newTab - Optional, boolean. Whether to open the result in a new tab. - open: (frameId, options) -> - @vomnibarUI.activate extend options, { frameId } + open: (frameId, options) -> @vomnibarUI.activate extend options, { frameId } root = exports ? window root.Vomnibar = Vomnibar |
