From 0eed357a5e1ceb3061d88ef99a612bb8c4526fa7 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sat, 9 Sep 2017 20:16:51 +0900 Subject: broadcast an action --- src/console/console-frame.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/console/console-frame.js') diff --git a/src/console/console-frame.js b/src/console/console-frame.js index e6bf3f5..a590da9 100644 --- a/src/console/console-frame.js +++ b/src/console/console-frame.js @@ -22,8 +22,8 @@ export default class ConsoleFrame { type: 'vimvixen.console.show.command', text: text }; - messages.send(this.element.contentWindow, message); this.errorShown = false; + return browser.runtime.sendMessage(message); } showError(text) { -- cgit v1.2.3