diff --git a/src/lib/components/chat/Messages/UserMessage.svelte b/src/lib/components/chat/Messages/UserMessage.svelte index 08dbd34e6..87b6b495a 100644 --- a/src/lib/components/chat/Messages/UserMessage.svelte +++ b/src/lib/components/chat/Messages/UserMessage.svelte @@ -135,7 +135,7 @@ const isEnterPressed = e.key === 'Enter'; if (isCmdOrCtrlPressed && isEnterPressed) { - document.getElementById('save-edit-message-button')?.click(); + document.getElementById('confirm-edit-message-button')?.click(); } }} /> @@ -165,7 +165,7 @@