()
| 19972 | element.className = targetClass; |
| 19973 | } |
| 19974 | } |
| 19975 | |
| 19976 | // Update WiFi SSID display if this is the WiFi indicator |
| 19977 | if (id === 'wifi-status') { |
| 19978 | const ssidDisplay = document.getElementById('wifi-ssid-display'); |
| 19979 | if (ssidDisplay) { |
| 19980 | let text, cls; |
| 19981 | if (apMode) { |
| 19982 | text = ssid ? `AP Mode: ${ssid}` : 'AP Mode'; |
| 19983 | cls = 'text-xs text-blue-400 truncate'; |
| 19984 | } else if (active && ssid) { |
| 19985 | text = ssid; |
| 19986 | cls = 'text-xs text-gray-400 truncate'; |
no test coverage detected