feat: toggle settings shortcut added
This commit is contained in:
1 parent
b916f1b07d
commit
7ffc1902a9
3 files changed
+28
-3
No files matched your search
@@ -160,6 +160,13 @@
|
||||
document.getElementById('delete-chat-button')?.click();
|
||||
}
|
||||
|
||||
// Check if Ctrl + S is pressed
|
||||
if (isCtrlPressed && event.key.toLowerCase() === 's') {
|
||||
event.preventDefault();
|
||||
console.log('openSettings');
|
||||
document.getElementById('open-settings-button')?.click();
|
||||
}
|
||||
|
||||
// Check if Ctrl + / is pressed
|
||||
if (isCtrlPressed && event.key === '/') {
|
||||
event.preventDefault();
|
||||
|
||||
Reference in new issue
Block a user