mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	Fix class set condition
This commit is contained in:
		| @@ -3266,9 +3266,9 @@ class StreamingProcessor { | |||||||
|                 if (this.messageReasoningDom instanceof HTMLElement) { |                 if (this.messageReasoningDom instanceof HTMLElement) { | ||||||
|                     const formattedReasoning = messageFormatting(this.reasoning, '', false, false, messageId, {}, true); |                     const formattedReasoning = messageFormatting(this.reasoning, '', false, false, messageId, {}, true); | ||||||
|                     this.messageReasoningDom.innerHTML = formattedReasoning; |                     this.messageReasoningDom.innerHTML = formattedReasoning; | ||||||
|                     if (this.reasoning) { |                 } | ||||||
|                         this.messageDom.classList.add('reasoning'); |                 if (this.messageDom instanceof HTMLElement) { | ||||||
|                     } |                     this.messageDom.classList.add('reasoning'); | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user