AOS.init({ // offset: 200, // duration: 600, // easing: 'ease-in-sine', // delay: 100, once: true, disable: 'mobile', disable: window.innerWidth < 767 }); $.noConflict(); (function($){ 'use strict'; if( $('.clients')[0] ){ var _clients = $('.clients .owl-wrapper').length; // console.log( $('.clients .owl-wrapper').length ); // if( _clients > 5 ){ $('.clients').owlCarousel({ nav: true, dots: false, margin: 100, loop: false, //center:true, // autoplay: true, // autoplayTimeout: 4000, // autoplayHoverPause: true, merge: true, responsive:{ 0:{ margin: 20, items: 2 }, 480:{ // autoWidth: true, margin: 20, items: 3 }, 700:{ items: 3 }, 1000:{ items: 4 }, 1200:{ items: 5 } } }); // }else{ // $('.clients').addClass('owl-loaded owl-none items-'+_clients); // } } if( $('.simcal-calendar')[0] ){ $('.simcal-date-format').each(function(){ var _date = new Date(), _day = _date.getDate(); if( $(this).text() == _day ){ $(this).closest('.simcal-day-label').addClass('current-date'); $(this).closest('.simcal-day-label').next().addClass('current-date'); } }); //console.log(date); } })(jQuery)