mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
refac
This commit is contained in:
parent
a4ad6bead6
commit
3ca4bfd2f2
1 changed files with 1 additions and 1 deletions
|
|
@ -247,7 +247,7 @@
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
document.getElementById('generate-message-pair-button')?.click();
|
document.getElementById('generate-message-pair-button')?.click();
|
||||||
} else if (
|
} else if (
|
||||||
isShortcutMatch(event, shortcuts[Shortcut.REGENERATE_RESPONSE]) &&
|
isShortcutMatch(event, shortcuts[Shortcut.REGENERATE_RESPONSE]) &&
|
||||||
document.activeElement?.id === 'chat-input'
|
document.activeElement?.id === 'chat-input'
|
||||||
) {
|
) {
|
||||||
console.log('Shortcut triggered: REGENERATE_RESPONSE');
|
console.log('Shortcut triggered: REGENERATE_RESPONSE');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue