1document.addEventListener('DOMContentLoaded', function () { 2 var nav = document.querySelector('.event-nav.dbf-nav'); 3 if (!nav) return; 4 5 var toggle = document.querySelector('.dbf-nav-toggle'); 6 7 toggle.addEventListener('click', function () { 8 var isOpen = nav.classList.toggle('dbf-nav-open'); 9 toggle.setAttribute('aria-expanded', isOpen ? 'true' : 'false'); 10 }); 11 12 // Close menu if window is resized back above 960px 13 window.addEventListener('resize', function () { 14 if (window.innerWidth > 960 && nav.classList.contains('dbf-nav-open')) { 15 nav.classList.remove('dbf-nav-open'); 16 toggle.setAttribute('aria-expanded', 'false'); 17 } 18 }); 19});
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.