diff options
| author | Jez Ng | 2012-10-23 21:30:21 -0400 | 
|---|---|---|
| committer | Jez Ng | 2012-10-23 21:30:21 -0400 | 
| commit | e0db72c81361ebc6b950f624e22a90c6261c0ca2 (patch) | |
| tree | ce0f213e1601ca12c5fc90a78e5709a381906db9 /content_scripts | |
| parent | 7979a0920f9148c47f86e39c56908d358cbc4647 (diff) | |
| download | vimium-e0db72c81361ebc6b950f624e22a90c6261c0ca2.tar.bz2 | |
Avoid spurious HUD after shift-toggling tab opening behavior.
Diffstat (limited to 'content_scripts')
| -rw-r--r-- | content_scripts/link_hints.coffee | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee index e9a35503..168280d8 100644 --- a/content_scripts/link_hints.coffee +++ b/content_scripts/link_hints.coffee @@ -160,9 +160,9 @@ LinkHints =        # Toggle whether to open link in a new or current tab.        @setOpenLinkMode(!@shouldOpenInNewTab, @shouldOpenWithQueue, false)        handlerStack.push({ -        keyup: (event) -> +        keyup: (event) =>            return if (event.keyCode != keyCodes.shiftKey) -          LinkHints.setOpenLinkMode(!LinkHints.shouldOpenInNewTab, LinkHints.shouldOpenWithQueue, false) +          @setOpenLinkMode(!@shouldOpenInNewTab, @shouldOpenWithQueue, false) if @isActive            @remove()        }) | 
