aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/vimium_frontend.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'content_scripts/vimium_frontend.coffee')
-rw-r--r--content_scripts/vimium_frontend.coffee12
1 files changed, 0 insertions, 12 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee
index 3f36a5cd..07b4fe4b 100644
--- a/content_scripts/vimium_frontend.coffee
+++ b/content_scripts/vimium_frontend.coffee
@@ -465,12 +465,6 @@ onKeypress = (event, extra) ->
keyPort.postMessage({ keyChar:keyChar, frameId:frameId })
- if InsertModeTrigger.isDisabled extra
- # If PostFindMode is active, then we're blocking vimium's keystrokes from going into an input
- # element. So we should also block other keystrokes (otherwise, it's weird). There's some controversy as
- # to whether this is the right thing to do. See discussion in #1415.
- DomUtils.suppressEvent(event)
-
return true
onKeydown = (event, extra) ->
@@ -564,12 +558,6 @@ onKeydown = (event, extra) ->
isValidFirstKey(KeyboardUtils.getKeyChar(event))))
DomUtils.suppressPropagation(event)
KeydownEvents.push event
- else if InsertModeTrigger.isDisabled extra
- # If PostFindMode is active, then we're blocking vimium's keystrokes from going into an input
- # element. So we should also block other keystrokes (otherwise, it's weird). There's some controversy as
- # to whether this is the right thing to do. See discussion in #1415.
- DomUtils.suppressPropagation(event)
- KeydownEvents.push event
return true