Skip to content

Commit 236e6b4

Browse files
committed
fix
1 parent 1bd2fae commit 236e6b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/modules/navigation/navigation.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export default function Navigation({ swiper, extendParams, on, emit }) {
3131
if (
3232
swiper.params.uniqueNavElements &&
3333
typeof el === 'string' &&
34+
res &&
3435
res.length > 1 &&
3536
swiper.el.querySelectorAll(el).length === 1
3637
) {

0 commit comments

Comments
 (0)