1window.addEventListener('load', function(event) { 2 const $ = window.jQuery; 3 4 function disable_brand_touch() { 5 const imageCarousel = $('.elementor-image-carousel-wrapper'); 6 const swiperInstance = imageCarousel.data('swiper'); 7 if ( swiperInstance ) { 8 swiperInstance.allowTouchMove = false; 9 } 10 11 const myElement = document.querySelector('.elementor-image-carousel-wrapper'); 12 if ( myElement ) { 13 myElement.addEventListener('touchmove', function(e) { 14 e.preventDefault(); 15 }); 16 } 17 } 18 19 if (typeof Swiper !== 'undefined' && document.querySelector('.elementor-image-carousel-wrapper')) { 20 disable_brand_touch(); 21 } 22 23 window.addEventListener('resize', disable_brand_touch); 24});
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.