From 37d9d4c25340367af18caaa0cc1f6dc3fbdd52bb Mon Sep 17 00:00:00 2001 From: Wolfsblvt Date: Sat, 15 Feb 2025 21:44:06 +0100 Subject: [PATCH] Make sure auto-expand doesn't conflict with hidden --- public/scripts/reasoning.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/reasoning.js b/public/scripts/reasoning.js index d2445316e..83154437d 100644 --- a/public/scripts/reasoning.js +++ b/public/scripts/reasoning.js @@ -216,7 +216,7 @@ export class ReasoningHandler { this.updateDom(messageId); - if (power_user.reasoning.auto_expand) { + if (power_user.reasoning.auto_expand && this.state !== ReasoningState.Hidden) { this.messageReasoningDetailsDom.open = true; } }