aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorStephen Blott2015-10-04 09:12:40 +0100
committerStephen Blott2015-10-04 09:12:40 +0100
commit33d9699a9a5645c5752c6e8c9394101e7b4bbbbe (patch)
tree584fa676c522a5468d004c107c294ede150b9029 /lib
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 'lib')
-rw-r--r--lib/handler_stack.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/handler_stack.coffee b/lib/handler_stack.coffee
index b09d3183..c07d028b 100644
--- a/lib/handler_stack.coffee
+++ b/lib/handler_stack.coffee
@@ -48,7 +48,7 @@ class HandlerStack
result = handler[type].call @, event
@logResult eventNumber, type, event, handler, result if @debug
if not result
- DomUtils.suppressEvent event if @isChromeEvent event
+ DomUtils.suppressEvent event if @isChromeEvent event
return false
return true if result == @stopBubblingAndTrue
return false if result == @stopBubblingAndFalse