1/* newspaper javascript */ 2( function () { 3 4 5 const elem = document.querySelector('input[name="date_from"]'); 6 const datepicker1 = new Datepicker(elem, { 7 // ...options 8 }); 9 const from_date_picker = document.querySelector('input[name="date_to"]'); 10 const datepicker = new Datepicker(from_date_picker, { 11 // ...options 12 }); 13 14 document.addEventListener("DOMContentLoaded", function () { 15 const filterbar_form = document.querySelector('.filterbar__form'); 16 17 if (filterbar_form) { 18 filterbar_form.addEventListener('submit', function (ev) { 19 const inputs = this.querySelectorAll('.form-control'); 20 21 inputs.forEach( function (inp) { 22 if(inp.value == -1) 23 inp.disabled = true; 24 }); 25 }); 26 } 27 28 let galleryGutenberg = document.querySelector('.wp-block-gallery'); 29 if ( galleryGutenberg ) { 30 let images = galleryGutenberg.querySelectorAll( '.td-modal-image' ); 31 32 images.forEach( function( image ) { 33 image.classList.remove( 'td-modal-image' ); 34 } ); 35 } 36 37 }); 38})(); 39
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.