MCPcopy Create free account
hub / github.com/error311/FileRise / hideEl

Function hideEl

public/js/main.js:937–937  ·  view source on GitHub ↗
(el)

Source from the content-addressed store, hash-verified

935 // Safe show/hide that work with both CSS and [hidden]
936 const unhide = (el) => { if (!el) return; el.removeAttribute('hidden'); el.style.display = ''; };
937 const hideEl = (el) => { if (!el) return; el.setAttribute('hidden', ''); el.style.display = 'none'; };
938 const show = (el) => {
939 if (!el) return;
940 el.hidden = false; el.classList?.remove('d-none', 'hidden');

Callers 2

bootSetupWizardFunction · 0.85
main.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected