diff options
| author | Stephen Blott | 2015-03-17 09:47:46 +0000 |
|---|---|---|
| committer | Stephen Blott | 2015-03-17 09:47:46 +0000 |
| commit | aa8d00fd9779d4061431dbdcb7a70b9c39e8049a (patch) | |
| tree | 0666dd79baa0a5855ecbc515250880ccafa9f54d /content_scripts | |
| parent | e65f4d4e8a498e34a18c64898cb7425caee9fdc0 (diff) | |
| download | vimium-aa8d00fd9779d4061431dbdcb7a70b9c39e8049a.tar.bz2 | |
Activate vomnibar in window.top; simplify messaging.
Diffstat (limited to 'content_scripts')
| -rw-r--r-- | content_scripts/ui_component.coffee | 10 |
1 files changed, 5 insertions, 5 deletions
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 |
