aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/mode.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'content_scripts/mode.coffee')
-rw-r--r--content_scripts/mode.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/mode.coffee b/content_scripts/mode.coffee
index cbcc15f7..22b6120f 100644
--- a/content_scripts/mode.coffee
+++ b/content_scripts/mode.coffee
@@ -54,7 +54,7 @@ class Mode
for type in [ "keydown", "keypress", "keyup" ]
do (type) =>
handler = @options[type]
- @options[type] = (event) -> handler? event; false
+ @options[type] = (event) => handler? event; @stopBubblingAndFalse
@push
keydown: @options.keydown || null