refac/fix: shortcut modal
This commit is contained in:
1 parent
43e11aa807
commit
3e67ce6e8e
3 files changed
+7
-7
No files matched your search
@@ -34,6 +34,7 @@
|
||||
tags,
|
||||
banners,
|
||||
showSettings,
|
||||
showShortcuts,
|
||||
showChangelog,
|
||||
temporaryChatEnabled,
|
||||
toolServers,
|
||||
@@ -185,8 +186,8 @@
|
||||
// Check if Ctrl + / is pressed
|
||||
if (isCtrlPressed && event.key === '/') {
|
||||
event.preventDefault();
|
||||
console.log('showShortcuts');
|
||||
document.getElementById('show-shortcuts-button')?.click();
|
||||
|
||||
showShortcuts.set(!$showShortcuts);
|
||||
}
|
||||
|
||||
// Check if Ctrl + Shift + ' is pressed
|
||||
|
||||
Reference in new issue
Block a user