Skip to content

Commit

Permalink
Fixes broken implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
beard67 committed Feb 6, 2026
1 parent 74ef156 commit 77fce02
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tdx-enhanced.js
Original file line number Diff line number Diff line change
Expand Up @@ -714,8 +714,9 @@
textBlock.style.color = "var(--txt-1)"
})
document.querySelectorAll("#ToggleAIAgentAssist").forEach(AIAgentButton=>{
const selected = document.querySelector('input[name="aiBehavior"]:checked');
if (selected.value == "aiDisable") {
let selected = settings('get','aiBehavior');
console.log("AI Behavior selected:",selected.value)
if (selected == "aiDisable") {
AIAgentButton.style.display = "none"
}
})
Expand Down

0 comments on commit 77fce02

Please sign in to comment.