This commit is contained in:
Timothy J. Baek 2024-08-20 14:27:14 +02:00
parent 27109d22e4
commit 2b896989b8

View File

@ -135,7 +135,7 @@
const isEnterPressed = e.key === 'Enter'; const isEnterPressed = e.key === 'Enter';
if (isCmdOrCtrlPressed && isEnterPressed) { if (isCmdOrCtrlPressed && isEnterPressed) {
document.getElementById('save-edit-message-button')?.click(); document.getElementById('confirm-edit-message-button')?.click();
} }
}} }}
/> />
@ -165,7 +165,7 @@
</button> </button>
<button <button
id="save-edit-message-button" id="confirm-edit-message-button"
class=" px-4 py-2 bg-gray-900 dark:bg-white hover:bg-gray-850 text-gray-100 dark:text-gray-800 transition rounded-3xl" class=" px-4 py-2 bg-gray-900 dark:bg-white hover:bg-gray-850 text-gray-100 dark:text-gray-800 transition rounded-3xl"
on:click={() => { on:click={() => {
editMessageConfirmHandler(); editMessageConfirmHandler();