Why the thumb slider is not displayed from the numbering?

Good day

there is code:
var num = $('.reviews__sl__num');
var slider = $('.reviews__sl');

slider.on('init reInit afterChange', function(event, slick, currentSlide, nextSlide) {
 var i = (currentSlide ? currentSlide : 0) + 1;
 num.html(i + '<span>from</span>' + slick.slideCount);

the question of why not is derived from the numbering of the slides, but only after changing the slide displayed, I kind of pointed out: init, reInit (after initialization and povtornoi initialization start function)

I would be grateful for help...
April 19th 20 at 12:41
0 answer

Find more questions by tags SlickjQuery