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({ 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({