From c143cf070e6d036e5859594f1f38adf4adf16a05 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Tue, 17 Oct 2017 21:07:41 +0900 Subject: reset prevValue on console on shown --- src/console/components/console.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/console') diff --git a/src/console/components/console.js b/src/console/components/console.js index 93802f8..82ec467 100644 --- a/src/console/components/console.js +++ b/src/console/components/console.js @@ -107,6 +107,7 @@ export default class ConsoleComponent { command.style.display = 'block'; input.value = text; input.focus(); + this.prevValue = ''; } hideCommand() { -- cgit v1.2.3