diff options
| author | Stephen Blott | 2014-12-16 15:40:04 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2014-12-16 15:40:04 +0000 | 
| commit | a36a735fca856bb59dd62b6bc77c56431cc9b9fd (patch) | |
| tree | ce4d2c2ad2134e2c9c67ce6576b80df58c1ee939 /content_scripts/vimium_frontend.coffee | |
| parent | f0d8ad6740910bef0057b863974ccf8f851e3a24 (diff) | |
| download | vimium-a36a735fca856bb59dd62b6bc77c56431cc9b9fd.tar.bz2 | |
Add comments to nextFrame logic.
Diffstat (limited to 'content_scripts/vimium_frontend.coffee')
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 4ab6556f..491f5750 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -227,6 +227,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.      chrome.runtime.sendMessage({ handler: "nextFrame", frameId: frameId })      return    window.focus() | 
