Timothy J. Baek 11 months ago
parent
commit
b4fca046a8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/components/chat/MessageInput.svelte

+ 1 - 1
src/lib/components/chat/MessageInput.svelte

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