From ffdcaf4d72eed8e00fae87deb4578268c8ee6830 Mon Sep 17 00:00:00 2001 From: Eugene Simakin Date: Tue, 4 Oct 2016 12:50:39 +0300 Subject: [PATCH] Update jquery.twbsPagination.js from master --- js/jquery.twbsPagination.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/jquery.twbsPagination.js b/js/jquery.twbsPagination.js index 332c01c..566d940 100644 --- a/js/jquery.twbsPagination.js +++ b/js/jquery.twbsPagination.js @@ -258,8 +258,10 @@ } if (search.indexOf('?') === 0) search = search.substr(1); return search; + }, + getCurrentPage: function () { + return this.currentPage; } - }; // PLUGIN DEFINITION