From d5adc06f717c58669d2b16a89217d255355de622 Mon Sep 17 00:00:00 2001 From: Lewiz Date: Thu, 17 Jul 2014 23:10:32 -0400 Subject: [PATCH] Update jquery.twbsPagination.js Unbinds page event when "destroy" is called --- jquery.twbsPagination.js | 1 + 1 file changed, 1 insertion(+) diff --git a/jquery.twbsPagination.js b/jquery.twbsPagination.js index 28aea9a..3887141 100644 --- a/jquery.twbsPagination.js +++ b/jquery.twbsPagination.js @@ -68,6 +68,7 @@ destroy: function () { this.$element.empty(); this.$element.removeData('twbs-pagination'); + this.$element.unbind('page'); return this; },