Fix class set condition

900c0caffa947ea0b7a06e12affb73873ae6cd92

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +3 -3Ignore whitespace
public/script.js+3 -3
@@ -3266,9 +3266,9 @@ class StreamingProcessor {
3266 if (this.messageReasoningDom instanceof HTMLElement) {3266 if (this.messageReasoningDom instanceof HTMLElement) {
3267 const formattedReasoning = messageFormatting(this.reasoning, '', false, false, messageId, {}, true);3267 const formattedReasoning = messageFormatting(this.reasoning, '', false, false, messageId, {}, true);
3268 this.messageReasoningDom.innerHTML = formattedReasoning;3268 this.messageReasoningDom.innerHTML = formattedReasoning;
3269 if (this.reasoning) {3269 }
3270 this.messageDom.classList.add('reasoning');3270 if (this.messageDom instanceof HTMLElement) {
3271 }3271 this.messageDom.classList.add('reasoning');
3272 }3272 }
3273 }3273 }
32743274