broadcast an action

This commit is contained in:
Shin'ya Ueoka 2017-09-09 20:16:51 +09:00
parent 3d35db9fc1
commit 0eed357a5e
4 changed files with 15 additions and 11 deletions

View file

@ -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) {