fix: missing closing bracket in jQuery selector in setInContextMessages() (#5451)
* Initial plan * fix: add missing closing bracket in jQuery selector in setInContextMessages() Agent-Logs-Url: https://github.com/SillyTavern/SillyTavern/sessions/756522d8-8fe8-4c14-bcea-31d520619fb5 Co-authored-by: Cohee1207 <18619528+Cohee1207@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Cohee1207 <18619528+Cohee1207@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -6011,7 +6011,7 @@ function setInContextMessages(msgInContextCount, type) {
|
||||
|
||||
if (lastMessageBlock.length === 0) {
|
||||
const firstMessageId = getFirstDisplayedMessageId();
|
||||
chatElement.find(`.mes[mesid="${firstMessageId}"`).addClass('lastInContext');
|
||||
chatElement.find(`.mes[mesid="${firstMessageId}"]`).addClass('lastInContext');
|
||||
}
|
||||
|
||||
// Update last id to chat. No metadata save on purpose, gets hopefully saved via another call
|
||||
|
||||
Reference in New Issue
Block a user