mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix in-context message highlight breaking Firefox gens
This commit is contained in:
@ -2217,7 +2217,7 @@ function setInContextMessages(lastmsg, type) {
|
||||
lastmsg++;
|
||||
}
|
||||
|
||||
$(`#chat .mes:nth-last-child(${lastmsg} of :not([is_system="true"])`).addClass('lastInContext');
|
||||
$('#chat .mes:not([is_system="true"])').eq(-lastmsg).addClass('lastInContext');
|
||||
}
|
||||
|
||||
// TODO: move to textgen-settings.js
|
||||
|
Reference in New Issue
Block a user