MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / toggleWsRow

Function toggleWsRow

web/rusense/app/views/settings.js:688–691  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

686 if (wsText) {
687 wsText.value = s.wsUrl || '';
688 wsText.addEventListener('change', () => { s.wsUrl = wsText.value; saveObsSettings(s); });
689 }
690 const toggleWsRow = () => {
691 const r = root.querySelector('#obs-wsurl-row');
692 if (r) r.style.display = s.dataSource === 'ws' ? 'block' : 'none';
693 };
694 toggleWsRow();

Callers 1

wireObservatoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected