aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2015-10-04 10:07:12 +0100
committerStephen Blott2015-10-04 10:07:12 +0100
commit1c1bfb8d070ccbae1307c40e0b0a12afb6f65219 (patch)
treeb307b5511877662ee4a5346c2a7aae9c2d41f03d
parent33d9699a9a5645c5752c6e8c9394101e7b4bbbbe (diff)
downloadvimium-1c1bfb8d070ccbae1307c40e0b0a12afb6f65219.tar.bz2
Make comment/explanation match implementation.
-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) ->