1jQuery(document).ready(function($) { 2 // Catch Schedule Service Button and open iframe in modal 3 const iframeContent = `<iframe src="${scheduleServiceIframeURL}"></iframe>`; 4 $('a[href*="service/schedule-service"]').each(function() { 5 $(this).attr('href', 'javascript:void(0);'); 6 $(this).addClass('catched-schedule-service-btn'); 7 $(this).attr('data-ag-event', 'cta_interaction'); 8 $(this).attr('data-modal-content', iframeContent); 9 $(this).attr('data-modal-title', 'Schedule Service'); 10 }); 11 12 $(document).on('click', '.catched-schedule-service-btn', function(event) { 13 event.preventDefault(); 14 event.stopPropagation(); 15 openScheduleServiceIframe(this); 16 }); 17 18 function openScheduleServiceIframe(btn) { 19 DVPopUp(btn, null, false, null, null, 'toyota-schedule-service-modal dv-custom-schedule-service-modal'); 20 } 21});
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.