wesnolte / Pajinate

A jQuery Pagination Plugin
http://th3silverlining.com/2010/04/15/pajination-a-jquery-pagination-plugin/
MIT License
207 stars 97 forks source link

Fixed $nav_panels variable usage (instead of navigating from parent containers) #27

Open clacote opened 12 years ago

clacote commented 12 years ago

Hi,

I was customizing your plugin to make it compatible with Twitter Bootstrap's pagination component. It appears to me than $nav_panels variable could be used in two places, where you choose to navigate from top-level container instead. It's a dummy pull-request, but it enables me to customize more easily $nav_panels content.

Hope this pull-request won't lost much of your time.

wesnolte commented 12 years ago

Makes sense. Could you apply your change to the JS in the example and the .min too please?