mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
fix: toggle settings shortcut fix
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user