fix on unfocus
This commit is contained in:
parent
12db4943ee
commit
e3409b3aae
1 changed files with 2 additions and 1 deletions
|
@ -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({
|
||||||
|
|
Reference in a new issue