diff options
| author | tejohnso | 2013-12-15 03:15:18 -0500 |
|---|---|---|
| committer | tejohnso | 2013-12-15 03:15:18 -0500 |
| commit | b64059ef6346ba4bd0f87c292c46d473246df722 (patch) | |
| tree | f98bf4db843bb17f77fbe1ef76eb09c21a7f1bd1 /content_scripts | |
| parent | 25c6298d8e737a9758ce9fd0863e465a3f7e6c7c (diff) | |
| download | vimium-b64059ef6346ba4bd0f87c292c46d473246df722.tar.bz2 | |
Stop keyup events for Issue 733
Diffstat (limited to 'content_scripts')
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index a2139df6..47d20908 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -433,7 +433,10 @@ onKeydown = (event) -> isValidFirstKey(KeyboardUtils.getKeyChar(event)))) event.stopPropagation() -onKeyup = (event) -> return unless handlerStack.bubbleEvent('keyup', event) +onKeyup = (event) -> + return unless handlerStack.bubbleEvent('keyup', event) + if (!isInsertMode()) + event.stopPropagation(); checkIfEnabledForUrl = -> url = window.location.toString() |
