reset completion

jh-changes
Shin'ya Ueoka 7 years ago
parent e436b98808
commit c507f7febf
  1. 5
      src/console/console.js

@ -111,6 +111,11 @@ const showCommand = (text) => {
let input = window.document.querySelector('#vimvixen-console-command-input'); let input = window.document.querySelector('#vimvixen-console-command-input');
input.value = text; input.value = text;
input.focus(); input.focus();
completion = null;
let container = window.document.querySelector('#vimvixen-console-completion');
container.innerHTML = '';
messages.send(parent, keyupMessage(input));
} }
const showError = (text) => { const showError = (text) => {