aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
diff options
context:
space:
mode:
authorStephen Blott2015-01-01 09:57:06 +0000
committerStephen Blott2015-01-01 09:57:06 +0000
commitaed5e2b5e1015a2e581edadbc5dd2d1b5a2719f4 (patch)
tree029efe488b4ef0440483dec7442d6b6124f8e459 /content_scripts
parentacefe43cef5a216cb2504e85799699c359b6b4d8 (diff)
downloadvimium-aed5e2b5e1015a2e581edadbc5dd2d1b5a2719f4.tar.bz2
Modes; minor changes.
Diffstat (limited to 'content_scripts')
-rw-r--r--content_scripts/vimium_frontend.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee
index 969e9209..f7ae3a76 100644
--- a/content_scripts/vimium_frontend.coffee
+++ b/content_scripts/vimium_frontend.coffee
@@ -618,8 +618,8 @@ window.enterInsertMode = (target) ->
# Note. This returns the truthiness of target, which is required by isInsertMode.
#
enterInsertModeWithoutShowingIndicator = (target) ->
- insertModeLock = target
unless Mode.isInsert()
+ insertModeLock = target
# Install insert-mode handler. Hereafter, all key events will be passed directly to the underlying page.
# The current isInsertMode logic in the normal-mode handlers is now redundant..
new Mode