diff options
| author | Stephen Blott | 2016-12-21 05:09:42 +0000 |
|---|---|---|
| committer | GitHub | 2016-12-21 05:09:42 +0000 |
| commit | 320f433afb53cc774b175dab0f6a1ad7a47d60f9 (patch) | |
| tree | 2bb28d6c6afc7ceeb7f463c6aff23d201b43587b /content_scripts/mode.coffee | |
| parent | caa63d6642141d2fe4cd6941ec1e84dd2d3e8225 (diff) | |
| parent | edfb7ba3ca148f7b00bd683d1979330f395f2e7e (diff) | |
| download | vimium-320f433afb53cc774b175dab0f6a1ad7a47d60f9.tar.bz2 | |
Merge pull request #2311 from smblott-github/enterNormalMode
New command option to enter normal mode
Diffstat (limited to 'content_scripts/mode.coffee')
| -rw-r--r-- | content_scripts/mode.coffee | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/content_scripts/mode.coffee b/content_scripts/mode.coffee index 6508627e..c1dea59a 100644 --- a/content_scripts/mode.coffee +++ b/content_scripts/mode.coffee @@ -81,9 +81,8 @@ class Mode _name: "mode-#{@id}/exitOnEscape" "keydown": (event) => return @continueBubbling unless KeyboardUtils.isEscape event - DomUtils.suppressKeyupAfterEscape handlerStack @exit event, event.srcElement - @suppressEvent + DomUtils.suppressKeyupAfterEscape handlerStack # If @options.exitOnBlur is truthy, then it should be an element. The mode will exit when that element # loses the focus. |
