(el)
| 8923 | function setStatus(state) { |
| 8924 | statusDot.className = "status-dot"; |
| 8925 | if (state !== "connected") statusDot.classList.add(state); |
| 8926 | barBtn.textContent = connected ? "Disconnect" : "Reconnect"; |
| 8927 | } |
| 8928 | function showOverlay(el) { |
| 8929 | el.classList.remove("hidden"); |
| 8930 | el.classList.add("visible"); |
| 8931 | } |