Fix inconsistent value check.

This commit is contained in:
Yak! 2025-03-23 17:52:48 +09:00
parent b03fc97e28
commit c1f189a602

View File

@ -384,7 +384,7 @@
if (event.data.type === 'input:prompt:submit') {
console.debug(event.data.text);
if (prompt !== '') {
if (event.data.text !== '') {
await tick();
submitPrompt(event.data.text);
}