1k2block("k2child/listinner", function ({block}) { 2 3 block.addEventListener('click', function (event) { 4 // Check if the clicked element is a li or part of the li 5 const li = event.target.closest('li'); 6 if (li) { 7 li.classList.toggle('active'); 8 } 9 }); 10});
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.