We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b89e2f commit 3f4589dCopy full SHA for 3f4589d
src/components/pagination/pagination.js
@@ -276,7 +276,7 @@ const Pagination = {
276
$el.on('mouseout', `.${params.bulletClass}`, () => {
277
swiper.allowTouchMove = true;
278
});
279
- $el.on('click', `.${params.bulletClass}`, function onClick(e) {
+ $el.on('click', `.${params.bulletClass.replace(/ /g, '.')}}`, function onClick(e) {
280
e.preventDefault();
281
let index = $(this).index() * swiper.params.slidesPerGroup;
282
if (swiper.params.loop) index += swiper.loopedSlides;
0 commit comments