diff options
| author | Stephen Blott | 2017-03-04 07:55:45 +0000 | 
|---|---|---|
| committer | GitHub | 2017-03-04 07:55:45 +0000 | 
| commit | 5cdaf6b8fa341ff9f1a3c2c7c21416deb1724d08 (patch) | |
| tree | 61486cec56f0df468bf7e7dee7337faf79a33708 | |
| parent | 0d239c338c04b5fdbdfbcbf13614c341383429a2 (diff) | |
| parent | 48c169bd5a61685bb4e67b1e76c939dbf360a658 (diff) | |
| download | vimium-5cdaf6b8fa341ff9f1a3c2c7c21416deb1724d08.tar.bz2 | |
Merge pull request #2384 from gdh1995/pass-keys-on-body-locked
InsertMode should not handle key events if document.body is editable
| -rw-r--r-- | content_scripts/mode_insert.coffee | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/content_scripts/mode_insert.coffee b/content_scripts/mode_insert.coffee index 239a4bcc..73a24112 100644 --- a/content_scripts/mode_insert.coffee +++ b/content_scripts/mode_insert.coffee @@ -10,6 +10,7 @@ class InsertMode extends Mode      handleKeyEvent = (event) =>        return @continueBubbling unless @isActive event +      return @passEventToPage if @insertModeLock is document.body        # Check for a pass-next-key key.        if KeyboardUtils.getKeyCharString(event) in Settings.get "passNextKeyKeys" | 
