aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/marks.coffee
diff options
context:
space:
mode:
authormrmr19932017-10-29 14:42:29 +0000
committermrmr19932017-10-29 14:55:37 +0000
commitecb8531442daaca1e8a040e65cdc209f173b42c4 (patch)
treeaa62719114c7f4abf39b4420c5f39840c347b55e /content_scripts/marks.coffee
parentaf74bf84adbe0abcf7fa491f352d31b417c78cd4 (diff)
downloadvimium-ecb8531442daaca1e8a040e65cdc209f173b42c4.tar.bz2
Let handlerStack call consumeKeyup rather than calling it explicitly
Diffstat (limited to 'content_scripts/marks.coffee')
-rw-r--r--content_scripts/marks.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/content_scripts/marks.coffee b/content_scripts/marks.coffee
index 55f3137c..ac653a52 100644
--- a/content_scripts/marks.coffee
+++ b/content_scripts/marks.coffee
@@ -52,7 +52,7 @@ Marks =
else
localStorage[@getLocationKey keyChar] = @getMarkString()
@showMessage "Created local mark", keyChar
- DomUtils.consumeKeyup event
+ handlerStack.suppressEvent
activateGotoMode: ->
@mode = new Mode
@@ -82,7 +82,7 @@ Marks =
@showMessage "Jumped to local mark", keyChar
else
@showMessage "Local mark not set", keyChar
- DomUtils.consumeKeyup event
+ handlerStack.suppressEvent
root = exports ? (window.root ?= {})
root.Marks = Marks