We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ec25a26 + 2528e6c commit c0808cbCopy full SHA for c0808cb
widget/assets/css/style.css
@@ -148,6 +148,7 @@
148
149
#splideContainer {
150
height: 100%;
151
+ display: none;
152
}
153
154
#splideContainer .launcher-icons .launcher-icon:nth-of-type(1),
widget/index.html
@@ -447,8 +447,11 @@
447
448
449
if (window.splideInstance) window.splideInstance.destroy();
450
+ var splideElem = document.getElementById('splideContainer');
451
+ if (splideElem) splideElem.style.display = 'none';
452
453
if ($scope.data.design.selectedLayout == 8) {
454
+ if (splideElem) splideElem.style.display = 'block';
455
var sliderHtml = $compile(prepareSliderHTML('splideLayout'))($scope);
456
$('#splide .splide__list').html(sliderHtml);
457
window.splideInstance = new Splide( '#splide', {
0 commit comments