diff options
| author | Stephen Blott | 2015-01-25 14:24:36 +0000 |
|---|---|---|
| committer | Stephen Blott | 2015-01-25 14:24:36 +0000 |
| commit | f993daf357ea85183bcf17cbe7269284cacddd8e (patch) | |
| tree | 2c50c245890c12a7d6387330a1e085ce6f226889 /content_scripts/mode.coffee | |
| parent | 57f0a4bbfeba97e3ecfaa6027c51e51d70756ad9 (diff) | |
| download | vimium-f993daf357ea85183bcf17cbe7269284cacddd8e.tar.bz2 | |
Visual/edit modes: better mode changes on blur/focus.
Diffstat (limited to 'content_scripts/mode.coffee')
| -rw-r--r-- | content_scripts/mode.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/mode.coffee b/content_scripts/mode.coffee index a74acfed..e80df69c 100644 --- a/content_scripts/mode.coffee +++ b/content_scripts/mode.coffee @@ -78,7 +78,7 @@ class Mode if @options.exitOnBlur @push _name: "mode-#{@id}/exitOnBlur" - "blur": (event) => @alwaysContinueBubbling => @exit() if event.target == @options.exitOnBlur + "blur": (event) => @alwaysContinueBubbling => @exit event if event.target == @options.exitOnBlur # If @options.exitOnClick is truthy, then the mode will exit on any click event. if @options.exitOnClick |
