Skip to content

Commit 4382be5

Browse files
committed
fixed postclones in case of unslick
fixes: #1171
1 parent 56b124d commit 4382be5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/track.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ var renderSlides = function(spec) {
163163
);
164164
}
165165

166-
if (childrenCount !== spec.slidesToShow) {
166+
if (!spec.unslick) {
167167
key = childrenCount + index;
168168
if (key < endIndex) {
169169
child = elem;

0 commit comments

Comments
 (0)