aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2015-02-03 08:24:42 +0000
committerStephen Blott2015-02-03 08:24:42 +0000
commit33abff96eeb052af807f9987506d611ce25b2757 (patch)
tree9dd7ef22270db82f7d22dc4dc6cdebe4c12ead7b
parentc1681fea2f2629c6bee1e27c5dfc704d77553d96 (diff)
downloadvimium-33abff96eeb052af807f9987506d611ce25b2757.tar.bz2
Visual/edit modes: fix bug in event handling.
-rw-r--r--content_scripts/mode_visual_edit.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/content_scripts/mode_visual_edit.coffee b/content_scripts/mode_visual_edit.coffee
index 5b622e4d..4ab425a3 100644
--- a/content_scripts/mode_visual_edit.coffee
+++ b/content_scripts/mode_visual_edit.coffee
@@ -388,8 +388,8 @@ class Movement extends CountPrefix
if @selection.type == "Range" and event?.type == "keydown" and KeyboardUtils.isEscape event
handlerStack.push
_name: "visual/range/escape"
- click: -> handlerStack.remove()
- focus: -> handlerStack.remove()
+ click: -> handlerStack.remove(); @continueBubbling
+ focus: -> handlerStack.remove(); @continueBubbling
keydown: (event) =>
handlerStack.remove()
if @selection.type == "Range" and event.type == "keydown" and KeyboardUtils.isEscape event