MCPcopy
hub / github.com/remoteintech/remote-jobs / closeSubmenu

Function closeSubmenu

src/assets/scripts/bundle/nav-sub.js:41–45  ·  view source on GitHub ↗
(buttonSub)

Source from the content-addressed store, hash-verified

39});
40
41function closeSubmenu(buttonSub) {
42 const submenu = document.getElementById(buttonSub.getAttribute('aria-controls'));
43 buttonSub.setAttribute('aria-expanded', 'false');
44 submenu.hidden = true;
45}

Callers 1

nav-sub.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected