clean console.js
This commit is contained in:
parent
be5f4d12d5
commit
709fa95aa3
2 changed files with 7 additions and 15 deletions
|
@ -14,9 +14,12 @@ export default class ConsoleComponent {
|
|||
input.addEventListener('blur', this.onBlur.bind(this));
|
||||
input.addEventListener('keydown', this.onKeyDown.bind(this));
|
||||
input.addEventListener('keyup', this.onKeyUp.bind(this));
|
||||
|
||||
this.hideCommand();
|
||||
this.hideError();
|
||||
}
|
||||
|
||||
static onBlur() {
|
||||
onBlur() {
|
||||
return browser.runtime.sendMessage({
|
||||
type: messages.CONSOLE_BLURRED,
|
||||
});
|
||||
|
|
Reference in a new issue