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

Function openMenu

public/js/main.js:1453–1458  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1451 let justToggledAt = 0;
1452
1453 function openMenu() {
1454 // Beat any CSS with !important
1455 menu.style.setProperty('display', 'block', 'important');
1456 btn.setAttribute('aria-expanded', 'true');
1457 justToggledAt = Date.now();
1458 }
1459 function closeMenu() {
1460 menu.style.setProperty('display', 'none', 'important');
1461 btn.setAttribute('aria-expanded', 'false');

Callers 1

wireCreateDropdownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected