diff options
Diffstat (limited to 'content_scripts/vimium_frontend.coffee')
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index fd31cc62..62b1132b 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -188,14 +188,16 @@ registerFrame = ->    chrome.runtime.sendMessage(      handler: "registerFrame"      frameId: frameId -    is_top: window.top == window.self) +    is_top: window.top == window.self +    is_frameset: document.body.tagName == "FRAMESET")  # Unregister the frame if we're going to exit.  unregisterFrame = ->    chrome.runtime.sendMessage(      handler: "unregisterFrame"      frameId: frameId -    is_top: window.top == window.self) +    is_top: window.top == window.self +    is_frameset: document.body.tagName == "FRAMESET")  #  # Enters insert mode if the currently focused element in the DOM is focusable. | 
