rchisholm/vanilla-slider

Just a typo in slider.getPrev [ Slide / Index ] ()

Closed this issue · 1 comments

Thank for sharing this Slider.

Just a typo :

In https://github.com/rchisholm/vanilla-slider#getprevindex

I think that :

console.log(slider.getPrevSlide());

msut be

console.log(slider.getPrevIndex());

@Snowball-V thanks for noticing! Fixed