Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Current page info added (issue josecebe#60 fixed)
  • Loading branch information
Eugene Simakin committed Sep 25, 2016
1 parent 46c4640 commit 474df69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jquery.twbsPagination.js
Expand Up @@ -89,6 +89,7 @@
if (page < 1 || page > this.options.totalPages) {
throw new Error('Page is incorrect.');
}
this.currentPage = page;

this.render(this.getPages(page));
this.setupEvents();
Expand Down

0 comments on commit 474df69

Please sign in to comment.