1(function($){ 2 "use strict"; 3 4 $(window).on('elementor/frontend/init', function () { 5 6 7 /* Form email */ 8 elementorFrontend.hooks.addAction('frontend/element_ready/ova_form_mail.default', function(){ 9 $('.ova-form-mail input[type="submit"]').on('click', function(e){ 10 11 var that = $(this); 12 var flag = true; 13 $('.ova-form-mail .con .input .error').css({'display':'none'}); 14 that.closest('.ova-form-mail').find('.field').each(function( index ){ 15 if( $(this).hasClass('required') && $(this).val() == '' ){ 16 flag = false; 17 $(this).parent('.input').children('.error').css({'display':'block'}); 18 } 19 }); 20 21 if( ! flag ){ 22 e.preventDefault(); 23 return false; 24 } 25 26 }) 27 }); 28 /* end Form email */ 29 30 /* ova_archive_dep_slide */ 31 elementorFrontend.hooks.addAction('frontend/element_ready/ova_archive_dep_slide.default', function(){ 32 $(".ova_dep_slide").each(function(){ 33 var owlsl = $(this) ; 34 var owlsl_ops = owlsl.data('options') ? owlsl.data('options') : {}; 35 36 var responsive_value = { 37 0:{ 38 items:1, 39 nav:false 40 }, 41 576:{ 42 items:1 43 44 }, 45 992:{ 46 items:2 47 }, 48 1170:{ 49 items:owlsl_ops.items 50 } 51 }; 52 53 owlsl.owlCarousel({ 54 autoWidth: owlsl_ops.autoWidth, 55 margin: owlsl_ops.margin, 56 items: owlsl_ops.items, 57 loop: owlsl_ops.loop, 58 autoplay: owlsl_ops.autoplay, 59 autoplayTimeout: owlsl_ops.autoplayTimeout, 60 center: owlsl_ops.center, 61 nav: owlsl_ops.nav, 62 dots: owlsl_ops.dots, 63 thumbs: owlsl_ops.thumbs, 64 autoplayHoverPause: owlsl_ops.autoplayHoverPause, 65 slideBy: owlsl_ops.slideBy, 66 smartSpeed: owlsl_ops.smartSpeed, 67 navText:[ 68 '<i class="fa fa-angle-left" ></i>', 69 '<i class="fa fa-angle-right" ></i>' 70 ], 71 responsive: responsive_value, 72 }); 73 74 /* Fixed WCAG */ 75 owlsl.find(".owl-nav button.owl-prev").attr("title", "Previous"); 76 owlsl.find(".owl-nav button.owl-next").attr("title", "Next"); 77 owlsl.find(".owl-dots button").attr("title", "Dots"); 78 79 }); 80 }); 81 /* end ova_archive_dep_slide */ 82 83 }); 84})(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.