Skip to content

Commit af66136

Browse files
author
Wong Ho Chi Mark
committed
initialSlide should be int
1 parent 8c6749c commit af66136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/slick.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ angular
9292
easing: scope.easing || 'linear',
9393
edgeFriction: scope.edgeFriction || 0.15,
9494
infinite: scope.infinite !== 'false',
95-
initialSlide: scope.initialSlide || 0,
95+
initialSlide: parseInt(scope.initialSlide) || 0,
9696
lazyLoad: scope.lazyLoad || 'ondemand',
9797
mobileFirst: scope.mobileFirst === 'true',
9898
pauseOnHover: scope.pauseOnHover !== 'false',

0 commit comments

Comments
 (0)