Skip to content

Commit

Permalink
fix(pagination): double check for $el
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Jun 14, 2022
1 parent fe2ed10 commit baafb55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/pagination/pagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ export default function Pagination({ swiper, extendParams, on, emit }) {
if (
swiper.params.pagination.el &&
swiper.params.pagination.hideOnClick &&
$el &&
$el.length > 0 &&
!$(targetEl).hasClass(swiper.params.pagination.bulletClass)
) {
Expand Down

0 comments on commit baafb55

Please sign in to comment.