This commit is contained in:
Zyfax 2025-12-11 10:54:47 +01:00 committed by GitHub
parent a4ad6bead6
commit 3ca4bfd2f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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');