diff --git a/jquery.twbsPagination.js b/jquery.twbsPagination.js index e4ce31c..427df80 100644 --- a/jquery.twbsPagination.js +++ b/jquery.twbsPagination.js @@ -241,6 +241,11 @@ }); }, + changeTotalPages: function(totalPages, currentPage) { + this.options.totalPages = totalPages; + this.show(currentPage); + }, + makeHref: function (page) { return this.options.href ? this.generateQueryString(page) : "#"; },