mirror of
https://github.com/open-webui/open-webui
synced 2025-06-13 09:55:04 +00:00
refac
This commit is contained in:
parent
3ab917cdd0
commit
dc3abc2bcb
@ -171,7 +171,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Check if Ctrl + Shift + ' is pressed
|
// Check if Ctrl + Shift + ' is pressed
|
||||||
if (isCtrlPressed && isShiftPressed && event.key.toLowerCase() === `'`) {
|
if (
|
||||||
|
isCtrlPressed &&
|
||||||
|
isShiftPressed &&
|
||||||
|
(event.key.toLowerCase() === `'` || event.key.toLowerCase() === `"`)
|
||||||
|
) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
console.log('temporaryChat');
|
console.log('temporaryChat');
|
||||||
temporaryChatEnabled.set(!$temporaryChatEnabled);
|
temporaryChatEnabled.set(!$temporaryChatEnabled);
|
||||||
|
Loading…
Reference in New Issue
Block a user