aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/vimium_frontend.coffee
diff options
context:
space:
mode:
authorStephen Blott2014-12-17 07:39:37 +0000
committerStephen Blott2014-12-17 07:39:37 +0000
commitc7213f8a12ff75c00da3c7bdadb38239b096cb19 (patch)
tree58f3a4ef7bd9f4fc62ebbaeea166020577c6352a /content_scripts/vimium_frontend.coffee
parentdb4b0c952fdf8fff517a4393cd07b04ecffb2ead (diff)
parent09f8527915eae8067072277e2b161493ede359cd (diff)
downloadvimium-c7213f8a12ff75c00da3c7bdadb38239b096cb19.tar.bz2
Merge branch 'master' into post-1.46
Diffstat (limited to 'content_scripts/vimium_frontend.coffee')
-rw-r--r--content_scripts/vimium_frontend.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee
index eaf66b72..e4680ff7 100644
--- a/content_scripts/vimium_frontend.coffee
+++ b/content_scripts/vimium_frontend.coffee
@@ -246,8 +246,8 @@ setScrollPosition = (scrollX, scrollY) ->
window.focusThisFrame = (shouldHighlight) ->
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.
- # NOTE(smblott) We assume that there is at least one frame large enough to focus.
- # See #1317.
+ # This affects sites like Google Inbox, which have many tiny iframes. See #1317.
+ # Here we're assuming that there is at least one frame large enough to focus.
chrome.runtime.sendMessage({ handler: "nextFrame", frameId: frameId })
return
window.focus()