1document.addEventListener("turbo:load", () => { 2 const hamburger = document.querySelector(".hamburger"); 3 const nav = document.querySelector(".main-nav"); 4 5 if (hamburger && nav) { 6 hamburger.addEventListener("click", () => { 7 const isOpen = hamburger.getAttribute("aria-expanded") === "true"; 8 9 hamburger.setAttribute("aria-expanded", !isOpen); 10 nav.classList.toggle("open"); 11 }); 12 } 13});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.