Skip to content

Commit

Permalink
initialSlide should be int
Browse files Browse the repository at this point in the history
  • Loading branch information
Wong Ho Chi Mark committed Dec 26, 2015
1 parent 8c6749c commit af66136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slick.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ angular
easing: scope.easing || 'linear',
edgeFriction: scope.edgeFriction || 0.15,
infinite: scope.infinite !== 'false',
initialSlide: scope.initialSlide || 0,
initialSlide: parseInt(scope.initialSlide) || 0,
lazyLoad: scope.lazyLoad || 'ondemand',
mobileFirst: scope.mobileFirst === 'true',
pauseOnHover: scope.pauseOnHover !== 'false',
Expand Down

0 comments on commit af66136

Please sign in to comment.