A few minor changes

- Fix paginator always showing 5 buttons even if there are less pages
- Clear AFK timer when clicking voteskip
- Change the modestbranding youtube param because people wanted the like/dislike buttons
This commit is contained in:
calzoneman 2013-08-08 18:25:56 -04:00
parent 9256928d82
commit 07a3e3cc21
4 changed files with 4 additions and 6 deletions

View file

@ -48,7 +48,7 @@
.appendTo(sep);
}
}
for(var i = s; i < s + this.opts.maxPages; i++) {
for(var i = s; i < s + this.opts.maxPages && i < s + pages; i++) {
(function (i) {
var li = $("<li/>").appendTo(ul);
if(i == p)