Fix inconsistent value check.
This commit is contained in:
1 parent
b03fc97e28
commit
c1f189a602
1 file changed
+1
-1
@@ -384,7 +384,7 @@
|
|||||||
if (event.data.type === 'input:prompt:submit') {
|
if (event.data.type === 'input:prompt:submit') {
|
||||||
console.debug(event.data.text);
|
console.debug(event.data.text);
|
||||||
|
|
||||||
if (prompt !== '') {
|
if (event.data.text !== '') {
|
||||||
await tick();
|
await tick();
|
||||||
submitPrompt(event.data.text);
|
submitPrompt(event.data.text);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user