flaviusmatis / simplePagination.js

A simple jQuery pagination plugin.
Other
784 stars 402 forks source link

argument event cause error onPageClick #128

Open ycscholes opened 8 years ago

ycscholes commented 8 years ago

If using event like event.preventDefault() in onPageClick method, it will case error when use the api $(selector).pagination('selectPage', pageNumber);

Because selectPage will not pass the event to the _selectPage.

PatrickMockridge commented 8 years ago

Yes I'm finding this right now. Thanks for clearing that up.