CSS-Tricks / AnythingSlider

A jQuery Slider plugin for anything.
http://css-tricks.github.io/AnythingSlider/
GNU Lesser General Public License v3.0
1.15k stars 380 forks source link

Typo in jquery.anythingslider.js #516

Closed multiformeingegno closed 11 years ago

multiformeingegno commented 11 years ago

Search for "base.gotoPage(indx);", shouldn't it be "base.gotoPage(index);"?

Mottie commented 11 years ago

Hiya @multi

It is indx. Look here to see where it is defined.

indx = base.$items.index(panel) + base.adj; // index can be -1 in nested sliders - issue #208
multiformeingegno commented 11 years ago

Oh, ok! Sorry!! :)