1/* modal récupère l'image on click */ 2////////////////////////////////////////// 3const exampleModal = document.getElementById('exampleModal'); 4 5if (exampleModal) { 6 exampleModal.addEventListener('show.bs.modal', event => { 7 // Button that triggered the modal 8 const img = event.relatedTarget; 9 // Extract info from data-bs-* attributes 10 const recipient = img.getAttribute('data-bs-whatever'); 11 // Update the modal's content. 12 const modalBodyInput = exampleModal.querySelector('.modal-body img'); 13 14 modalBodyInput.src = recipient; 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.