From 6b40540a1286b672ca6882706a7d807dce05a0ca Mon Sep 17 00:00:00 2001 From: Mateus Machado Luna Date: Tue, 29 Oct 2019 13:20:46 -0300 Subject: [PATCH] Disables skeleton when using autoPlay or loopSlides. --- .../carousel-collections-list-theme.vue | 2 +- .../carousel-items-list/carousel-items-list-theme.vue | 7 ++++--- .../carousel-terms-list/carousel-terms-list-theme.vue | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/gutenberg-blocks/tainacan-collections/carousel-collections-list/carousel-collections-list-theme.vue b/src/gutenberg-blocks/tainacan-collections/carousel-collections-list/carousel-collections-list-theme.vue index 76db868a3..e87700aec 100644 --- a/src/gutenberg-blocks/tainacan-collections/carousel-collections-list/carousel-collections-list-theme.vue +++ b/src/gutenberg-blocks/tainacan-collections/carousel-collections-list/carousel-collections-list-theme.vue @@ -121,7 +121,7 @@ -
+
@@ -121,7 +122,7 @@
-
+
@@ -219,7 +220,7 @@ export default { 1600: { slidesPerView: 6 }, }, autoplay: this.autoPlay ? { delay: this.autoPlaySpeed*1000 } : false, - loop: this.loopSlides + loop: this.loopSlides ? this.loopSlides : false }, errorMessage: 'No items found.' } diff --git a/src/gutenberg-blocks/tainacan-terms/carousel-terms-list/carousel-terms-list-theme.vue b/src/gutenberg-blocks/tainacan-terms/carousel-terms-list/carousel-terms-list-theme.vue index ba7d957f5..bd00f838a 100644 --- a/src/gutenberg-blocks/tainacan-terms/carousel-terms-list/carousel-terms-list-theme.vue +++ b/src/gutenberg-blocks/tainacan-terms/carousel-terms-list/carousel-terms-list-theme.vue @@ -111,7 +111,7 @@
-
+