mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-14 05:15:18 +00:00
refac
This commit is contained in:
parent
3ab917cdd0
commit
dc3abc2bcb
1 changed files with 5 additions and 1 deletions
|
|
@ -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 a new issue