Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update jquery.twbsPagination.js
Removes plugin data when destroy method is called.
  • Loading branch information
luiz-brandao committed Jul 18, 2014
1 parent 6a7d96e commit 4ed9e18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jquery.twbsPagination.js
Expand Up @@ -67,6 +67,7 @@

destroy: function () {
this.$element.empty();
this.$element.removeData('twbs-pagination');
return this;
},

Expand Down

0 comments on commit 4ed9e18

Please sign in to comment.