diff options
| author | Stephen Blott | 2015-01-14 12:43:41 +0000 |
|---|---|---|
| committer | Stephen Blott | 2015-01-14 13:31:29 +0000 |
| commit | 3e0378d0bc5d85ffec0ef49f7c421edbe9c073ec (patch) | |
| tree | 9198362c577df8f90f76791ef4471cd6ba51596a /content_scripts/mode.coffee | |
| parent | 9b0a48955c61c262cc4428b2360938d4b54d2d41 (diff) | |
| download | vimium-3e0378d0bc5d85ffec0ef49f7c421edbe9c073ec.tar.bz2 | |
Modes; rework PostFindMode (again).
Diffstat (limited to 'content_scripts/mode.coffee')
| -rw-r--r-- | content_scripts/mode.coffee | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/content_scripts/mode.coffee b/content_scripts/mode.coffee index ebb3e8bc..2b35f0de 100644 --- a/content_scripts/mode.coffee +++ b/content_scripts/mode.coffee @@ -101,9 +101,7 @@ class Mode if @options.exitOnClick @push _name: "mode-#{@id}/exitOnClick" - "click": (event) => @alwaysContinueBubbling => - @clickEvent = event - @exit() + "click": (event) => @alwaysContinueBubbling => @exit event # If @options.trackState is truthy, then the mode mainatins the current state in @enabled and @passKeys, # and calls @registerStateChange() (if defined) whenever the state changes. |
