Skip to content

Commit

Permalink
Nit
Browse files Browse the repository at this point in the history
  • Loading branch information
rand0musername committed Mar 7, 2024
1 parent 8a93156 commit 01be28c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function updateDetector() {
detectors=document.querySelectorAll(".example.active")[0].querySelectorAll(".chat-detector")
if(this.checked) {
// Checkbox is checked
console.log(bodies[1].childNodes)
//console.log(bodies[1].childNodes)
bodies.forEach(b => b.childNodes.forEach(e => !e.classList || e.classList.add('active')))
detectors.forEach(e => !e.classList || e.classList.add('active'))
} else {
Expand Down

0 comments on commit 01be28c

Please sign in to comment.