Scrollify icon indicating copy to clipboard operation
Scrollify copied to clipboard

currentIndex not returning right value

Open kyds3k opened this issue 6 years ago • 0 comments

In my code, I have the following:

before: function () { currentSlide = $.scrollify.currentIndex(); console.log('current slide is ' + currentSlide) }, after: function() { currentSlide = $.scrollify.currentIndex(); console.log('moved to slide ' + currentSlide); }

However, it's telling me that the current slide is 1 every time, instead of 0 on the first one. Any ideas?

kyds3k avatar Apr 08 '19 20:04 kyds3k