Skip to content

Commit

Permalink
Fix the counter in slick dots buttons' aria-label
Browse files Browse the repository at this point in the history
  • Loading branch information
bboro committed Jun 20, 2022
1 parent 7daf56c commit d399c0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slick/slick.js
Original file line number Diff line number Diff line change
Expand Up @@ -1325,7 +1325,7 @@

Slick.prototype.initADA = function() {
var _ = this,
numDotGroups = Math.ceil(_.slideCount / _.options.slidesToShow),
numDotGroups = Math.ceil(_.slideCount / _.options.slidesToScroll),
tabControlIndexes = _.getNavigableIndexes().filter(function(val) {
return (val >= 0) && (val < _.slideCount);
});
Expand Down

0 comments on commit d399c0b

Please sign in to comment.