diff options
| author | mrmr1993 | 2014-12-13 18:01:54 +0000 | 
|---|---|---|
| committer | mrmr1993 | 2014-12-13 18:01:54 +0000 | 
| commit | ff1e4a2c4b77b8872a6c14a2494666e39ea54a46 (patch) | |
| tree | ecae10bf09239621ec750f96a2386fa47d6ee0cd | |
| parent | 87165885c0b32d9825cde2027af92a3191c3b096 (diff) | |
| download | vimium-ff1e4a2c4b77b8872a6c14a2494666e39ea54a46.tar.bz2 | |
Remove insert mode check for keyup handling
If we have handled a keydown then we should always handle its
corresponding keyup, regardless of what mode we're in. This prevents
us from passing the keyup event for `i` to the page when we enter insert
mode.
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 1 | 
1 files changed, 0 insertions, 1 deletions
| diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 55de9274..7ec34875 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -472,7 +472,6 @@ onKeydown = (event) ->  onKeyup = (event) ->    return unless handlerStack.bubbleEvent("keyup", event) -  return if isInsertMode()    # Check whether we have handled a keydown for this keyup, and remove all matching keydowns from    # handledKeydownEvents. | 
