From 3539ad89382c02bf2f89d890b86e49409059391f Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sun, 27 Mar 2016 12:35:36 +0100 Subject: Finally fix help-dialog focus issue. In the previous commits, I omitted to actually check that the help dialog wasn't closing on the options page. I should be good now. --- content_scripts/ui_component.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content_scripts') diff --git a/content_scripts/ui_component.coffee b/content_scripts/ui_component.coffee index ac0bea71..4c9b18e1 100644 --- a/content_scripts/ui_component.coffee +++ b/content_scripts/ui_component.coffee @@ -76,7 +76,7 @@ class UIComponent if event.target == window window.removeEventListener "focus", @onFocus @onFocus = null - @postMessage "hide" + @postMessage "frameFocused" @showing = true hide: (focusWindow = true)-> -- cgit v1.2.3