1 2(function($){ 3 "use strict"; 4 5 $(window).on('regio/frontend/init', function () { 6 7 8 9 regioFrontend.hooks.addAction('frontend/element_ready/multiplu_form_mail.default', function(){ 10 $('.multiplu-form-mail input[type="submit"]').on('click', function(e){ 11 12 var that = $(this); 13 var flag = true; 14 $('.multiplu-form-mail .con .input .error').css({'display':'none'}); 15 that.closest('.multiplu-form-mail').find('.field').each(function( index ){ 16 if( $(this).hasClass('required') && $(this).val() == '' ){ 17 flag = false; 18 $(this).parent('.input').children('.error').css({'display':'block'}); 19 } 20 }); 21 22 if( ! flag ){ 23 e.preventDefault(); 24 return false; 25 } 26 27 }) 28 }); 29 30 31 32 regioFrontend.hooks.addAction('frontend/element_ready/multiplu_archive_dep_slide.default', function(){ 33 $(".multiplu_dep_slide").each(function(){ 34 var owlsl = $(this) ; 35 var owlsl_ops = owlsl.data('options') ? owlsl.data('options') : {}; 36 37 var responsive_value = { 38 0:{ 39 items:1, 40 nav:false 41 }, 42 576:{ 43 items:1 44 45 }, 46 992:{ 47 items:2 48 }, 49 1170:{ 50 items:owlsl_ops.items 51 } 52 }; 53 54 owlsl.owlCarousel({ 55 autoWidth: owlsl_ops.autoWidth, 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 thumbs: owlsl_ops.thumbs, 65 autoplayHoverPause: owlsl_ops.autoplayHoverPause, 66 slideBy: owlsl_ops.slideBy, 67 smartSpeed: owlsl_ops.smartSpeed, 68 navText:[ 69 '<i class="fa fa-angle-left" ></i>', 70 '<i class="fa fa-angle-right" ></i>' 71 ], 72 responsive: responsive_value, 73 }); 74 75 }); 76 }); 77 78 79 }); 80})(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.