currentIndex not returning right value
kyds3k opened this issue · 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?