Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
drill-lancer committed Feb 5, 2024
1 parent 1e17655 commit 5bccc86
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/blocks/slider/editor-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,14 +213,14 @@ document.defaultView.addEventListener('load', function () {
removeSwiperClassName(slide);
});
newSwiperSlide[0].classList.add('is-selected');
slider.querySelector('.swiper-button-prev').style.display = 'none';
slider.querySelector('.swiper-button-next').style.display = 'none';
slider.querySelector('.swiper-button-prev').style.display =
'none';
slider.querySelector('.swiper-button-next').style.display =
'none';
if (swiper[sliderId]) {
swiper[sliderId].destroy();
swiper[sliderId] = null;
}


}
}
};
Expand Down

0 comments on commit 5bccc86

Please sign in to comment.