aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-10-17 21:25:14 +0900
committerGitHub <noreply@github.com>2017-10-17 21:25:14 +0900
commitc69cb944acc7fd02110777be2719eca6f891154b (patch)
tree8991af5497126c880047bd45d3d6024794288d2d
parent33a97a0e8c18c099b23cd50a832242985837edca (diff)
parentc143cf070e6d036e5859594f1f38adf4adf16a05 (diff)
Merge pull request #72 from ueokande/65-fix-empty-suggestions
Fix empty suggestions
-rw-r--r--src/console/components/console.js1
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() {