Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update docs
  • Loading branch information
Eugene Simakin committed Dec 20, 2014
1 parent 710a53f commit 2ba2200
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/jquery.twbsPagination.js
@@ -1,5 +1,5 @@
/*!
* jQuery pagination plugin v1.2.4
* jQuery pagination plugin v1.2.5
* http://esimakin.github.io/twbs-pagination/
*
* Copyright 2014, Eugene Simakin
Expand Down Expand Up @@ -189,7 +189,7 @@

var children = this.$listContainer.children();
children.filter(function () {
return $(this).data('page') === pages.currentPage;
return $(this).data('page') === pages.currentPage && $(this).data('page-type') === 'page';
}).addClass(this.options.activeClass);

children.filter(function () {
Expand Down

0 comments on commit 2ba2200

Please sign in to comment.