Merge pull request #2753 from open-webui/dev

fix
This commit is contained in:
Timothy Jaeryang Baek 2024-06-02 22:36:43 -07:00 committed by GitHub
commit be08dbf00d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -833,7 +833,7 @@
]?.at(-1);
if (!commandOptionButton) {
if (e.key === 'Enter' && !e.shiftKey && prompt !== '' && selected) {
if (e.key === 'Enter' && !e.shiftKey && prompt !== '') {
submitPrompt(prompt, user);
return;
}