From ab56d8bcd6686991483694d7153c4d0c9b5e513a Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Wed, 14 Jan 2015 13:33:29 +0000 Subject: Modes; fix tests. --- content_scripts/mode_insert.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content_scripts/mode_insert.coffee') diff --git a/content_scripts/mode_insert.coffee b/content_scripts/mode_insert.coffee index 89077c6a..135df0d0 100644 --- a/content_scripts/mode_insert.coffee +++ b/content_scripts/mode_insert.coffee @@ -16,7 +16,7 @@ class InsertMode extends Mode @insertModeLock = if options.targetElement? then options.targetElement else null @push - "blur": => @alwaysContinueBubbling => + "blur": (event) => @alwaysContinueBubbling => if DomUtils.isFocusable event.target @exit event.target Mode.updateBadge() -- cgit v1.2.3