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

Function show

public/js/fileMenu.js:49–49  ·  view source on GitHub ↗
(sel, on)

Source from the content-addressed store, hash-verified

47 const m = qMenu(); if (!m) return;
48
49 const show = (sel, on) => sel.forEach(el => el.hidden = !on);
50
51 show(m.querySelectorAll('[data-when="always"]'), true);
52 show(m.querySelectorAll('[data-when="any"]'), any);

Callers 1

configureVisibilityFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected