From b9da16ed9501cd3e67294f65ef4492e8d633cc0e Mon Sep 17 00:00:00 2001 From: RossAsscends <124905043+RossAscends@users.noreply.github.com> Date: Wed, 22 Mar 2023 23:06:18 +0900 Subject: [PATCH] fixed regenerate hotkey to work with groups - it now clicks the regenerate button - previously it directly called Regenerate() --- public/scripts/RossAscends-mods.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/public/scripts/RossAscends-mods.js b/public/scripts/RossAscends-mods.js index a6789c769..7e462ba8c 100644 --- a/public/scripts/RossAscends-mods.js +++ b/public/scripts/RossAscends-mods.js @@ -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") {