|
|
@ -57,7 +57,8 @@ export default class ConsoleComponent { |
|
|
|
browser.runtime.sendMessage({ |
|
|
|
browser.runtime.sendMessage({ |
|
|
|
type: messages.CONSOLE_ENTER_COMMAND, |
|
|
|
type: messages.CONSOLE_ENTER_COMMAND, |
|
|
|
text: value, |
|
|
|
text: value, |
|
|
|
}).then(this.hideCommand); |
|
|
|
}); |
|
|
|
|
|
|
|
this.hideCommand(); |
|
|
|
} else if (state.mode === 'find') { |
|
|
|
} else if (state.mode === 'find') { |
|
|
|
this.hideCommand(); |
|
|
|
this.hideCommand(); |
|
|
|
window.top.postMessage(JSON.stringify({ |
|
|
|
window.top.postMessage(JSON.stringify({ |
|
|
|