1let haveSubs = document.querySelectorAll('.menu-item-has-children a'); 2 3[...haveSubs].map((hasSub)=>{ 4 5 /// 6 hasSub.onclick = (e) => { 7 if(hasSub.classList.contains('active-sub')){ 8 hasSub.classList.remove('active-sub'); 9 } else { 10 let activeSub = document.querySelector('.active-sub'); 11 if(activeSub!=null) activeSub.classList.remove('active-sub'); 12 hasSub.classList.add('active-sub'); 13 } 14 } 15 16})
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.