From e65f4d4e8a498e34a18c64898cb7425caee9fdc0 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Tue, 17 Mar 2015 09:34:43 +0000 Subject: Activate vomnibar in window.top; minor clean up. --- content_scripts/vimium_frontend.coffee | 1 - content_scripts/vomnibar.coffee | 3 +-- 2 files changed, 1 insertion(+), 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 -- cgit v1.2.3