flaviusmatis/simplePagination.js

Move to first page or last page on out of range input to ellipsePageSet

mabhijith95a10 opened this issue · 0 comments

Now whenever out of range input is provided to ellipsePageSet nothing happens it stays in the same page.

I want to move to first page if input value is less than first page i.e if input is 0 or negative numbers and in the same way move to last Page if input value is more than total number of pages.

Already made the necessary changes to the code if you like this idea I will make a pull request.