Skip to content

Commit 3f4589d

Browse files
VinhVictorthanhdx0
authored andcommitted
1 parent 2b89e2f commit 3f4589d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/pagination/pagination.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ const Pagination = {
276276
$el.on('mouseout', `.${params.bulletClass}`, () => {
277277
swiper.allowTouchMove = true;
278278
});
279-
$el.on('click', `.${params.bulletClass}`, function onClick(e) {
279+
$el.on('click', `.${params.bulletClass.replace(/ /g, '.')}}`, function onClick(e) {
280280
e.preventDefault();
281281
let index = $(this).index() * swiper.params.slidesPerGroup;
282282
if (swiper.params.loop) index += swiper.loopedSlides;

0 commit comments

Comments
 (0)