Skip to content

Commit

Permalink
Issues #29 and #31 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene Simakin committed Dec 20, 2014
1 parent 1f0a12d commit baa9082
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "twbs-pagination",
"version": "1.1.1",
"version": "1.2.5",
"homepage": "https://github.com/esimakin/twbs-pagination",
"authors": [
"Eugene Simakin <[email protected]>"
Expand All @@ -11,7 +11,7 @@
"globals"
],
"dependencies": {
"jquery": ">=1.7.2"
"jquery": ">=1.7.0"
},
"keywords": [
"pagination",
Expand Down
4 changes: 2 additions & 2 deletions jquery.twbsPagination.js
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions jquery.twbsPagination.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit baa9082

Please sign in to comment.