Slick slider - enable both autoplay & infinite:false

jQuery( [SLICK TARGET] ).on("afterChange", function(e, slick, cur) {

    if( cur === slick.$slides.length-1 ) {

        slick.setOption("autoplay", false, true);

    }

});

Index Previous