홈수정
This commit is contained in:
parent
bc54a9e582
commit
c453872a2c
@ -517,8 +517,9 @@ function fn_listPops(typeDivCd) {
|
|||||||
if (this.slides.length <= 5) {
|
if (this.slides.length <= 5) {
|
||||||
// First way:
|
// First way:
|
||||||
this.allowSlidePrev = this.allowSlideNext = false; // disabling swiping
|
this.allowSlidePrev = this.allowSlideNext = false; // disabling swiping
|
||||||
this.el.querySelector(".swiper-button-prev").style.visibility = "hidden"; // hiding arrows prev&next
|
//this.el.querySelector(".swiper-button-prev").style.visibility = "hidden"; // hiding arrows prev&next
|
||||||
this.el.querySelector(".swiper-button-next").style.visibility = "hidden";
|
//this.el.querySelector(".swiper-button-next").style.visibility = "hidden";
|
||||||
|
this.querySelector(".swiper-pagination").style.visibility = "hidden";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user