From 43cfd9676a262c39c63491d03ba2978695905cb5 Mon Sep 17 00:00:00 2001 From: Eugene Date: Tue, 11 Mar 2014 05:32:49 -0700 Subject: [PATCH] Some missing return statements added --- jquery.twbsPagination.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jquery.twbsPagination.js b/jquery.twbsPagination.js index b249d4c..7fa48d7 100644 --- a/jquery.twbsPagination.js +++ b/jquery.twbsPagination.js @@ -67,10 +67,13 @@ this.setupEvents(); this.$element.trigger('page', this.options.startPage); + + return this; }, destroy: function () { this.$element.empty(); + return this; }, show: function (page) { @@ -82,6 +85,7 @@ this.setupEvents(); this.$element.trigger('page', page); + return this; }, buildListItems: function (pages) {