I had an issue with scrollable plugin scrolling to last 2 elements, i dont know if its a bug or not but on line 229:
if (to > self.getSize() - conf.size) { to--; }
must be changed to:
if (to > self.getSize() - conf.size) { to = self.getSize() - conf.size; }
because it also makes the scrollable scroll to the last items in weird cases, i cant explain it clearly but i guess you will find this use full
if (to > self.getSize() - conf.size) { to--; }
must be changed to:
if (to > self.getSize() - conf.size) { to = self.getSize() - conf.size; }
because it also makes the scrollable scroll to the last items in weird cases, i cant explain it clearly but i guess you will find this use full