This commit is contained in:
rxliuli 2025-08-19 20:47:15 +08:00 committed by GitHub
commit f12795cf7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1186,7 +1186,7 @@ function _Chat() {
e.preventDefault(); e.preventDefault();
return; return;
} }
if (shouldSubmit(e) && promptHints.length === 0) { if (!isMobileScreen && shouldSubmit(e) && promptHints.length === 0) {
doSubmit(userInput); doSubmit(userInput);
e.preventDefault(); e.preventDefault();
} }