Fix swiper=false bug

This commit is contained in:
2026-01-14 14:15:16 +01:00
parent db789a23f9
commit 75d64885b0
3 changed files with 10 additions and 2 deletions

View File

@@ -2608,7 +2608,7 @@ class IdmHotspot {
);
// Opcje swipera
if (typeof this?.options?.swiper === "boolean")
if (this.options.swiper && typeof this?.options?.swiper === "boolean")
this.options.swiper = this.getDefaultSwiperOptions();
// Wstawienie kontenera