mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fixed regenerate hotkey to work with groups
- it now clicks the regenerate button - previously it directly called Regenerate()
This commit is contained in:
@@ -361,7 +361,10 @@ $("document").ready(function () {
|
||||
// Ctrl+Enter for Regeneration Last Response
|
||||
if (is_send_press == false) {
|
||||
|
||||
Generate("regenerate");
|
||||
$('#option_regenerate').click();
|
||||
$('#options').hide();
|
||||
//setTimeout(function () { $('#chat').click(); }, 50) //needed to remove the options menu popping up..
|
||||
//Generate("regenerate");
|
||||
}
|
||||
}
|
||||
if (event.ctrlKey && event.key == "ArrowUp") {
|
||||
|
Reference in New Issue
Block a user