mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix in-context messages line for regens
This commit is contained in:
@@ -2324,9 +2324,9 @@ async function Generate(type, { automatic_trigger, force_name2, resolve, reject,
|
||||
} //generate ends
|
||||
|
||||
function setInContextMessages(lastmsg, type) {
|
||||
$("#chat").children().removeClass('lastInContext');
|
||||
$("#chat .mes").removeClass('lastInContext');
|
||||
|
||||
if (type === 'swipe') {
|
||||
if (type === 'swipe' || type === 'regenerate') {
|
||||
lastmsg++;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user