','
'], dots:true, smartSpeed:750, onInitialize: function (event) { var numOfOwlSlides = $('.owl-carousel .owl-carousel-slide').length; if (numOfOwlSlides > 1) { this.settings.loop = true; } else { this.settings.nav = false; } } }); } });