lyonlai/bootstrap-paginator — pull request #18 by sblackstone (2014-01-24 03:04:24+00:00)
Title: Fix bug when first/next/prev/last were set to be "on" all the time

I wanted a configuration where the first/prev/next/last buttons were on all the time, but since the 1 was being passed in as the page number for these buttons, they would be marked as active when the first or last page was active.

This checks that the element we are adding "active" to is actually a "page"...