diff options
| author | Stephen Blott | 2015-06-07 10:53:25 +0100 |
|---|---|---|
| committer | Stephen Blott | 2015-06-07 10:53:35 +0100 |
| commit | 59daec7b9914729b60e1d783bb1143499421fae6 (patch) | |
| tree | a4b8b0a60d892d1ee626f46e5be6415088dac01b /content_scripts/link_hints.coffee | |
| parent | 20038e470c84a722c61c7afb5f634e9890f6eaf3 (diff) | |
| download | vimium-59daec7b9914729b60e1d783bb1143499421fae6.tar.bz2 | |
Exit link-hint mode on click or scroll.
Exit on click because, if the user is clicking stuff, then they're
probably no longer interested in selecting links.
Exit on scroll because, if the user is scrolling, then the link hints
can all go out of the viewport.
Diffstat (limited to 'content_scripts/link_hints.coffee')
| -rw-r--r-- | content_scripts/link_hints.coffee | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee index 1e172710..04853c22 100644 --- a/content_scripts/link_hints.coffee +++ b/content_scripts/link_hints.coffee @@ -70,6 +70,8 @@ LinkHints = passInitialKeyupEvents: true suppressAllKeyboardEvents: true exitOnEscape: true + exitOnClick: true + exitOnScroll: true keypress: @onKeyDownInMode.bind this, hintMarkers @hintMode.onExit => |
