diff --git a/src/components-shared/update-swiper.mjs b/src/components-shared/update-swiper.mjs index d053ec979..d5a9439d8 100644 --- a/src/components-shared/update-swiper.mjs +++ b/src/components-shared/update-swiper.mjs @@ -26,8 +26,9 @@ function updateSwiper({ changedParams.includes('thumbs') && passedParams.thumbs && passedParams.thumbs.swiper && + !passedParams.thumbs.swiper.destroyed && currentParams.thumbs && - !currentParams.thumbs.swiper + (!currentParams.thumbs.swiper || currentParams.thumbs.swiper.destroyed) ) { needThumbsInit = true; }