diff --git a/src/lib/components/chat/ShortcutsModal.svelte b/src/lib/components/chat/ShortcutsModal.svelte index 2e0b66f74..2b643b2a1 100644 --- a/src/lib/components/chat/ShortcutsModal.svelte +++ b/src/lib/components/chat/ShortcutsModal.svelte @@ -135,7 +135,7 @@
- S + .
diff --git a/src/routes/(app)/+layout.svelte b/src/routes/(app)/+layout.svelte index e6d296f29..222a7d84e 100644 --- a/src/routes/(app)/+layout.svelte +++ b/src/routes/(app)/+layout.svelte @@ -160,8 +160,8 @@ document.getElementById('delete-chat-button')?.click(); } - // Check if Ctrl + S is pressed - if (isCtrlPressed && event.key.toLowerCase() === 's') { + // Check if Ctrl + . is pressed + if (isCtrlPressed && event.key === '.') { event.preventDefault(); console.log('openSettings'); document.getElementById('open-settings-button')?.click();