1/* Created by Content Blocks */ 2 3document.addEventListener('DOMContentLoaded', () => { 4 5 document.querySelectorAll('.churchinformations_events').forEach(async (element) => { 6 url = element.getAttribute('data-url'); 7 const response = await fetch(url); 8 const body = await response.text(); 9 element.innerHTML = body; 10 11 // Add event listeners to loaded content 12 element.querySelectorAll('.calendar-item').forEach((targetElement) => { 13 targetElement.addEventListener('click', (e) => { 14 if (e.target.nodeName !== 'A') { 15 targetElement.classList.toggle('expanded'); 16 } 17 }); 18 }); 19 }) 20});
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.