Skip to content

Commit

Permalink
Merge pull request open-webui#2753 from open-webui/dev
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
tjbck authored Jun 3, 2024
2 parents 61287a1 + b4fca04 commit be08dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/chat/MessageInput.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit be08dbf

Please sign in to comment.