Showing
1 changed file
with
3 additions
and
1 deletions
@@ -34,7 +34,9 @@ if ($loadMoreInfo.length > 0) { | @@ -34,7 +34,9 @@ if ($loadMoreInfo.length > 0) { | ||
34 | $noMore = $loadMoreInfo.children('.no-more'); | 34 | $noMore = $loadMoreInfo.children('.no-more'); |
35 | } | 35 | } |
36 | 36 | ||
37 | -info.initSwiper(curType); | 37 | +if ($('.swiper-container').length > 0) { |
38 | + info.initSwiper(curType); | ||
39 | +} | ||
38 | 40 | ||
39 | info.initInfosEvt($infoList); | 41 | info.initInfosEvt($infoList); |
40 | 42 |
-
Please register or login to post a comment