1const navToggle = document.getElementById('navToggle'); 2const siteHeader = document.getElementById('siteHeader'); 3 4navToggle.addEventListener('click', () => { 5 const isOpen = siteHeader.classList.toggle('nav-open'); 6 navToggle.setAttribute('aria-expanded', String(isOpen)); 7}); 8 9document.querySelectorAll('.main-nav a').forEach((link) => { 10 link.addEventListener('click', () => { 11 siteHeader.classList.remove('nav-open'); 12 navToggle.setAttribute('aria-expanded', 'false'); 13 }); 14});
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.