// Функции для главной страницы function indexPage() { // Слайдер на главной var $slideshow = $('#slideshow .slideshow__container'); $slideshow.owlCarousel({ items: 1, smartSpeed: 500, loop: false, lazyLoad: true, dots: true, mouseDrag: true, touchDrag: true, pullDrag: true, animateOut: 'fadeOut', });
замените на:
// Функции для главной страницы function indexPage() { // Слайдер на главной var $slideshow = $('#slideshow .slideshow__container'); $slideshow.owlCarousel({ items: 1, autoplayTimeout: 5000, autoplay: true, smartSpeed: 500, loop: true, lazyLoad: true, dots: true, mouseDrag: true, touchDrag: true, pullDrag: true, animateOut: 'fadeOut', });