From 7180c7992b2be56c61cfb88a922f6d24a3f38b3b Mon Sep 17 00:00:00 2001 From: Eugene Simakin Date: Mon, 25 Aug 2014 23:28:33 +0400 Subject: [PATCH] Task specific code removed --- jquery.twbsPagination.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jquery.twbsPagination.js b/jquery.twbsPagination.js index 3887141..2b12849 100644 --- a/jquery.twbsPagination.js +++ b/jquery.twbsPagination.js @@ -17,7 +17,6 @@ var TwbsPagination = function (element, options) { this.$element = $(element); - this.options = $.extend({}, $.fn.twbsPagination.defaults, options); this.init(this.options); }; @@ -26,7 +25,7 @@ constructor: TwbsPagination, init: function (options) { - this.options = $.extend({}, this.options, options); + this.options = $.extend({}, $.fn.twbsPagination.defaults, options); if (this.options.startPage < 1 || this.options.startPage > this.options.totalPages) { throw new Error('Start page option is incorrect');