1(function($){ 2 "use strict"; 3 4 5 $(window).on('elementor/frontend/init', function () { 6 7 /* project slider */ 8 elementorFrontend.hooks.addAction('frontend/element_ready/ovapro_elementor_project_slider.default', function(){ 9 10 $(".ova-project-slider .slide-project").each(function(){ 11 12 var owlsl = $(this) ; 13 var owlsl_ops = owlsl.data('options') ? owlsl.data('options') : {}; 14 15 // responsive value 16 if ( owlsl_ops.items == 5 ) { 17 var responsive_value = { 18 0:{ 19 items:1, 20 dots: true, 21 nav: false 22 }, 23 767:{ 24 items:2, 25 }, 26 1024:{ 27 items:owlsl_ops.items - 2, 28 }, 29 1300:{ 30 items:owlsl_ops.items - 1 31 }, 32 1520:{ 33 items:owlsl_ops.items 34 } 35 }; 36 } else { 37 var responsive_value = { 38 0:{ 39 items:1, 40 dots: true, 41 nav: false 42 }, 43 767:{ 44 items:2, 45 }, 46 1024:{ 47 items:owlsl_ops.items - 1, 48 }, 49 1400:{ 50 items:owlsl_ops.items 51 } 52 }; 53 } 54 55 owlsl.owlCarousel({ 56 margin: owlsl_ops.margin, 57 items: owlsl_ops.items, 58 loop: owlsl_ops.loop, 59 autoplay: owlsl_ops.autoplay, 60 autoplayTimeout: owlsl_ops.autoplayTimeout, 61 center: owlsl_ops.center, 62 nav: owlsl_ops.nav, 63 dots: owlsl_ops.dots, 64 autoWidth: false, 65 thumbs: owlsl_ops.thumbs, 66 autoplayHoverPause: owlsl_ops.autoplayHoverPause, 67 slideBy: owlsl_ops.slideBy, 68 smartSpeed: owlsl_ops.smartSpeed, 69 navText:[ 70 '<i class="flaticon flaticon-left-arrow" ></i>', 71 '<i class="flaticon flaticon-right-arrow" ></i>' 72 ], 73 responsive: responsive_value, 74 }); 75 76 /* Fixed WCAG */ 77 owlsl.find(".owl-nav button.owl-prev").attr("title", "Previous"); 78 owlsl.find(".owl-nav button.owl-next").attr("title", "Next"); 79 owlsl.find(".owl-dots button").attr("title", "Dots"); 80 81 }); 82 83 }); 84 85 }); 86 87})(jQuery);
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.