aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2014-11-22 06:51:01 +0000
committerStephen Blott2014-11-22 06:51:01 +0000
commitfe55f0688664e38b0e299c371a90dfe80ef8d3f7 (patch)
tree5181a2499cbef634c5c07088fb44257cf2f5ba9b
parent3f3f256e1abe2a7795ba89ff6b84d4b81fb0a7e2 (diff)
downloadvimium-fe55f0688664e38b0e299c371a90dfe80ef8d3f7.tar.bz2
Revert 3f3f256e1abe2a7795ba89ff6b84d4b81fb0a7e2.
On reflection, 3f3f256e1abe2a7795ba89ff6b84d4b81fb0a7e2 seems like a bad idea. It's unnecessary, and risks unforeseen consequences.
-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 a98b6254..34fd56d5 100644
--- a/content_scripts/vimium_frontend.coffee
+++ b/content_scripts/vimium_frontend.coffee
@@ -567,7 +567,7 @@ isInsertMode = ->
# Some sites (e.g. inbox.google.com) change the contentEditable attribute on the fly (see #1245); and
# unfortunately, isEditable() is called *before* the change is made. Therefore, we need to re-check whether
# the active element is contentEditable.
- document.activeElement and document.activeElement.isContentEditable and !findMode and
+ document.activeElement and document.activeElement.isContentEditable and
enterInsertModeWithoutShowingIndicator document.activeElement
# should be called whenever rawQuery is modified.