diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-10-17 21:07:41 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-10-17 21:07:41 +0900 |
commit | c143cf070e6d036e5859594f1f38adf4adf16a05 (patch) | |
tree | 8991af5497126c880047bd45d3d6024794288d2d /src/console | |
parent | 33a97a0e8c18c099b23cd50a832242985837edca (diff) |
reset prevValue on console on shown
Diffstat (limited to 'src/console')
-rw-r--r-- | src/console/components/console.js | 1 |
1 files changed, 1 insertions, 0 deletions
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() { |