1 var hrefs = document.getElementsByClassName("list-group-item-action"); 2 for (var i = 0; i < hrefs.length; i++) { 3 hrefs.item(i).addEventListener('click', function(e){ 4// e.preventDefault(); /*use if you want to prevent the original link following action*/ 5 let closeCanvas = document.querySelector('[data-bs-dismiss="offcanvas"]'); 6 closeCanvas.click(); 7 }); 8 }
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.