MCPcopy Create free account
hub / github.com/Alfredredbird/CyberKelp / openSidebar

Function openSidebar

script.js:400–405  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

398 if (!menuBtn || !sidebar || !overlay) return;
399
400 function openSidebar() {
401 sidebar.classList.add("open");
402 overlay.classList.add("visible");
403 menuBtn.classList.add("open");
404 document.body.style.overflow = "hidden";
405 }
406
407 function closeSidebar() {
408 sidebar.classList.remove("open");

Callers 1

initMobileMenuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected