Skip to content

Commit

Permalink
Merge pull request nolimits4web#612 from ccebrand/master
Browse files Browse the repository at this point in the history
Fix Add slide with active paging
  • Loading branch information
nolimits4web committed Feb 5, 2014
2 parents 5d1addf + 8174d51 commit 3d7f66b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/idangerous.swiper.js
Original file line number Diff line number Diff line change
Expand Up @@ -2044,7 +2044,7 @@ var Swiper = function (selector, params) {
if (pagers[ visibleIndexes[i] ]) pagers[ visibleIndexes[i] ].className += ' ' + params.paginationVisibleClass;
}

if (params.loop) {
if (params.loop && pagers[ _this.activeLoopIndex ] != undefined) {
pagers[ _this.activeLoopIndex ].className += ' ' + params.paginationActiveClass;
}
else {
Expand Down

0 comments on commit 3d7f66b

Please sign in to comment.