From aa8d00fd9779d4061431dbdcb7a70b9c39e8049a Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Tue, 17 Mar 2015 09:47:46 +0000 Subject: Activate vomnibar in window.top; simplify messaging. --- content_scripts/ui_component.coffee | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'content_scripts') diff --git a/content_scripts/ui_component.coffee b/content_scripts/ui_component.coffee index 3a4af6b5..82398727 100644 --- a/content_scripts/ui_component.coffee +++ b/content_scripts/ui_component.coffee @@ -54,11 +54,11 @@ class UIComponent @onFocus = null if focusWindow and @options?.frameId? chrome.runtime.sendMessage - handler: "sendMessageToFrame" - frameId: frameId - targetFrameId: @options.frameId - name: "focusFrame" - highlight: true # true for debugging; should be false when live. + handler: "sendMessageToFrames" + message: + name: "focusFrame" + frameId: @options.frameId + highlight: true # true for debugging; should be false when live. @options = null @showing = false -- cgit v1.2.3