diff options
| author | Stephen Blott | 2015-06-03 16:15:31 +0100 |
|---|---|---|
| committer | Stephen Blott | 2015-06-03 16:15:31 +0100 |
| commit | 8dab334fa2fde9d4815ce0a12c0d2ab9dd44ff05 (patch) | |
| tree | ff30bf30fd38bdb5407a3fbec33366a23d4314be /content_scripts/mode.coffee | |
| parent | 6fa88abbad70c19d5f9d69acff0e16844a2629b6 (diff) | |
| download | vimium-8dab334fa2fde9d4815ce0a12c0d2ab9dd44ff05.tar.bz2 | |
Also set previous position for before global mark movement.
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 22b6120f..86d3e011 100644 --- a/content_scripts/mode.coffee +++ b/content_scripts/mode.coffee @@ -52,8 +52,7 @@ class Mode # and 2) worry about their return value. if @options.suppressAllKeyboardEvents for type in [ "keydown", "keypress", "keyup" ] - do (type) => - handler = @options[type] + do (handler = @options[type]) => @options[type] = (event) => handler? event; @stopBubblingAndFalse @push |
