diff options
| author | Stephen Blott | 2015-01-10 16:01:40 +0000 |
|---|---|---|
| committer | Stephen Blott | 2015-01-10 16:21:28 +0000 |
| commit | 704ae28629154a732e20e16d56b23af265d51b85 (patch) | |
| tree | 2a376ded6d1f2890f345c04b5e09f5a49966c7a7 /content_scripts/mode_insert.coffee | |
| parent | c554d1fd5b6d81506864516b6f86a14f8672bec5 (diff) | |
| download | vimium-704ae28629154a732e20e16d56b23af265d51b85.tar.bz2 | |
Modes; better printable detection, move to keyboard_utils.
Diffstat (limited to 'content_scripts/mode_insert.coffee')
| -rw-r--r-- | content_scripts/mode_insert.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/mode_insert.coffee b/content_scripts/mode_insert.coffee index b907f22e..31bae8ec 100644 --- a/content_scripts/mode_insert.coffee +++ b/content_scripts/mode_insert.coffee @@ -121,7 +121,7 @@ new class ContentEditableTrap extends Mode element = document.getSelection()?.anchorNode?.parentElement return element?.isContentEditable and document.activeElement and - DomUtils. isPrintable event and + KeyboardUtils.isPrintable(event) and DomUtils.isDOMDescendant document.activeElement, element root = exports ? window |
