Skip to content
This repository was archived by the owner on Feb 24, 2023. It is now read-only.

Commit 516b85b

Browse files
Merge pull request #108 from mostafakarim/master
Fix: Resizing method breaks slidesToShow
2 parents 2af6365 + d4135f4 commit 516b85b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mixins/preparations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const mixin = {
8181

8282
// Actions on document resize
8383
for (let i = 0; i < this.allSlidesCount; i++) {
84-
this.allSlides[i].style.width = this.widthSlide + 'px'
84+
this.allSlides[i].style.width = (this.settings.unagile) ? '' : this.widthSlide + 'px'
8585
}
8686

8787
// Prepare track

0 commit comments

Comments
 (0)