aboutsummaryrefslogtreecommitdiffstats
path: root/lib/handler_stack.coffee
diff options
context:
space:
mode:
authorStephen Blott2017-11-10 07:20:24 +0000
committerGitHub2017-11-10 07:20:24 +0000
commit7cb53750bfb5f62849fcfb52f67b1e04ad0f9672 (patch)
tree11bc262e83097087d8363e82c4e0295e89628be3 /lib/handler_stack.coffee
parent56c2a89613199bc0369a66d19bf848e14b019671 (diff)
parentca6733c88e94c4e0d8d916eb4d494d4c8a179aa4 (diff)
downloadvimium-7cb53750bfb5f62849fcfb52f67b1e04ad0f9672.tar.bz2
Merge pull request #2782 from mrmr1993/suppress-link-hint-keys
Suppress link hint keys
Diffstat (limited to 'lib/handler_stack.coffee')
-rw-r--r--lib/handler_stack.coffee5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/handler_stack.coffee b/lib/handler_stack.coffee
index 646ddfbd..a43fc356 100644
--- a/lib/handler_stack.coffee
+++ b/lib/handler_stack.coffee
@@ -57,7 +57,10 @@ class HandlerStack
if result == @passEventToPage
return true
else if result == @suppressPropagation
- DomUtils.suppressPropagation event
+ if type == "keydown"
+ DomUtils.consumeKeyup event, null, true
+ else
+ DomUtils.suppressPropagation event
return false
else if result == @restartBubbling
return @bubbleEvent type, event