aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/link_hints.coffee
diff options
context:
space:
mode:
authorStephen Blott2015-10-04 09:12:40 +0100
committerStephen Blott2015-10-04 09:12:40 +0100
commit33d9699a9a5645c5752c6e8c9394101e7b4bbbbe (patch)
tree584fa676c522a5468d004c107c294ede150b9029 /content_scripts/link_hints.coffee
parent34452f22ec4c6403deecb59b73d237bcfa7c964a (diff)
downloadvimium-33d9699a9a5645c5752c6e8c9394101e7b4bbbbe.tar.bz2
Suppress trailing key events (after link hints).
This ensures that -- on leaving link hints mode -- we consume any trailing keyup events (and don't let the underlying page see them). Additional notes: - There are other places where we seem to be leaking keyup events. - A separate bug... It looks like we're calling `exit()` on link-hints mode twice.
Diffstat (limited to 'content_scripts/link_hints.coffee')
-rw-r--r--content_scripts/link_hints.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee
index a5e94fd0..cdd2dfac 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -69,6 +69,7 @@ class LinkHintsMode
indicator: false
passInitialKeyupEvents: true
suppressAllKeyboardEvents: true
+ suppressTrailingKeyEvents: true
exitOnEscape: true
exitOnClick: true
exitOnScroll: true