reset prevValue on console on shown

jh-changes
Shin'ya Ueoka 7 years ago
parent 33a97a0e8c
commit c143cf070e
  1. 1
      src/console/components/console.js

@ -107,6 +107,7 @@ export default class ConsoleComponent {
command.style.display = 'block'; command.style.display = 'block';
input.value = text; input.value = text;
input.focus(); input.focus();
this.prevValue = '';
} }
hideCommand() { hideCommand() {