diff --git a/tdx-enhanced.js b/tdx-enhanced.js
index 81893d3..dabb3ff 100644
--- a/tdx-enhanced.js
+++ b/tdx-enhanced.js
@@ -713,6 +713,12 @@
document.querySelectorAll("div.moreToggle *:not(a), div.lessToggle *:not(a), div.wrap-text *:not(a)").forEach(textBlock=>{
textBlock.style.color = "var(--txt-1)"
})
+ document.querySelectorAll("#ToggleAIAgentAssist").forEach(AIAgentButton=>{
+ const selected = document.querySelector('input[name="aiBehavior"]:checked');
+ if (selected.value == "aiDisable") {
+ AIAgentButton.style.display = "none"
+ }
+ })
let desktopLayout = settings('get','layout')
let desktop = document.querySelector("#divContent")
@@ -1466,6 +1472,13 @@
+