aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2017-04-13 16:15:12 +0100
committerStephen Blott2017-04-18 05:50:51 +0100
commit40ece51a53ee4042caad7854e415de56c0c69cab (patch)
tree09440d1d0b23673a51af4da2b08c794f8477192d
parent95cd386ce3ae09c45df8fbf7bda78cf8146b0b3d (diff)
downloadvimium-40ece51a53ee4042caad7854e415de56c0c69cab.tar.bz2
Continue bubbling unmapped events.
-rw-r--r--content_scripts/mode_key_handler.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/content_scripts/mode_key_handler.coffee b/content_scripts/mode_key_handler.coffee
index d3e0d8fb..f306ea06 100644
--- a/content_scripts/mode_key_handler.coffee
+++ b/content_scripts/mode_key_handler.coffee
@@ -58,8 +58,8 @@ class KeyHandlerMode extends Mode
digit = parseInt keyChar
@reset if @keyState.length == 1 then @countPrefix * 10 + digit else digit
@suppressEvent
- else if keyChar
- @reset()
+ else
+ @reset() if keyChar
@continueBubbling
# This tests whether there is a mapping of keyChar in the current key state (and accounts for pass keys).