aboutsummaryrefslogtreecommitdiff
path: root/src/console/console.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/console.js')
-rw-r--r--src/console/console.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/console/console.js b/src/console/console.js
index 61c5e24..e0227aa 100644
--- a/src/console/console.js
+++ b/src/console/console.js
@@ -57,15 +57,15 @@ window.addEventListener('load', () => {
});
const showCommand = (text) => {
- let input = window.document.querySelector('#vimvixen-console-command-input');
- input.value = text;
- input.focus();
-
let command = window.document.querySelector('#vimvixen-console-command');
command.style.display = 'block';
let error = window.document.querySelector('#vimvixen-console-error');
error.style.display = 'none';
+
+ let input = window.document.querySelector('#vimvixen-console-command-input');
+ input.value = text;
+ input.focus();
}
const showError = (text) => {