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.coffee8
1 files changed, 4 insertions, 4 deletions
diff --git a/content_scripts/mode.coffee b/content_scripts/mode.coffee
index 49da03e2..cab97b32 100644
--- a/content_scripts/mode.coffee
+++ b/content_scripts/mode.coffee
@@ -144,10 +144,10 @@ class Mode
keyup: (event) =>
if KeyboardUtils.isPrintable event then @stopBubblingAndFalse else @stopBubblingAndTrue
- # if @options.suppressTrailingKeyEvents is set, then we suppress all key events until a subsquent
- # (non-repeat) keydown or keypress. In particular, the intention is to catch keyup events for keys which
- # we have handled, but which otherwise might trigger page actions (if the page is listening for keyup
- # events).
+ # if @options.suppressTrailingKeyEvents is set, then -- on exit -- we suppress all key events until a
+ # subsquent (non-repeat) keydown or keypress. In particular, the intention is to catch keyup events for
+ # keys which we have handled, but which otherwise might trigger page actions (if the page is listening for
+ # keyup events).
if @options.suppressTrailingKeyEvents
@onExit ->
handler = (event) ->