← All changes
|
includes/widgets/Testimonial_Carousel/Testimonial_Carousel.php
+3
-0
51.1.84
→
51.1.87
View file →
| @@ -2367,8 +2367,11 @@ | ||
| 2367 | 2367 | } |
| 2368 | 2368 | |
| 2369 | 2369 | $js_swiper .= "})"; |
| 2370 | 2370 | |
| 2371 | + Core::printFitSlidesHelper(); | |
| 2372 | + $js_swiper = Core::wrapFitSwiper('.king-addons-testimonial-carousel-sw-items-' . $this_ID, $js_swiper, 240); | |
| 2373 | + | |
| 2371 | 2374 | $js_swiper_full = $js_swiper_check_if_DOM_already_loaded . ' ?' . $js_swiper . ' : ' . $js_swiper_check_if_DOM_not_already_loaded . $js_swiper . '; });'; |
| 2372 | 2375 | |
| 2373 | 2376 | wp_print_inline_script_tag($js_swiper_full); |
| 2374 | 2377 | /** END: Cards Container ===================== */ |