diff options
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. |
