fixed regenerate hotkey to work with groups

- it now clicks the regenerate button
- previously it directly called Regenerate()
This commit is contained in:
RossAsscends
2023-03-22 23:06:18 +09:00
parent 862ac3fed8
commit b9da16ed95

View File

@@ -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") {