fix on unfocus

jh-changes
Shin'ya Ueoka 7 years ago
parent 12db4943ee
commit e3409b3aae
  1. 3
      src/console/components/console.js

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