aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/mode_insert.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'content_scripts/mode_insert.coffee')
-rw-r--r--content_scripts/mode_insert.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/mode_insert.coffee b/content_scripts/mode_insert.coffee
index 4a1d4349..4ef490c9 100644
--- a/content_scripts/mode_insert.coffee
+++ b/content_scripts/mode_insert.coffee
@@ -27,7 +27,7 @@ class InsertMode extends Mode
generateKeyHandler: (type) ->
(event) =>
return Mode.propagate unless @isActive()
- return handlerStack.passThrough unless type == "keydown" and KeyboardUtils.isEscape event
+ return handlerStack.passDirectlyToPage unless type == "keydown" and KeyboardUtils.isEscape event
# We're now exiting insert mode.
if @canEditElement event.srcElement
# Remove the focus so the user can't just get himself back into insert mode by typing in the same input