1function openAccordionPerHash(hash) { 2 target = $(hash); 3 collapseItem = null; 4 if (target.hasClass('accordion-collapse')) 5 collapseItem = target; 6 else 7 collapseItem = target.closest('.accordion-collapse'); 8 9 collapseItem.collapse("show"); 10} 11 12// self executing function here 13window.addEventListener("load",(e)=> { 14 if (window.location.hash) { 15 openAccordionPerHash(window.location.hash); 16 } 17 let links = document.querySelectorAll('a[href*="#"]:not([href="#"])'); 18 links.forEach((link) => { 19 link.addEventListener('click', (e) => { 20 openAccordionPerHash(this.hash); 21 }); 22 }); 23});
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.