reset prevValue on console on shown
This commit is contained in:
parent
33a97a0e8c
commit
c143cf070e
1 changed files with 1 additions and 0 deletions
|
@ -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() {
|
||||||
|
|
Reference in a new issue