Skip to content

Commit bc3fdaa

Browse files
author
Wong Ho Chi Mark
committed
fix dots & slide attr
1 parent 3037a4d commit bc3fdaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/slick.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ angular
8181
centerPadding: scope.centerPadding || '50px',
8282
cssEase: scope.cssEase || 'ease',
8383
customPaging: attr.customPaging ? customPaging : void 0,
84-
dots: scope.dots === 'true',
84+
dots: attr.dots || scope.dots === 'true',
8585
draggable: scope.draggable !== 'false',
8686
fade: scope.fade === 'true',
8787
focusOnSelect: scope.focusOnSelect === 'true',
@@ -96,7 +96,7 @@ angular
9696
respondTo: scope.respondTo != null ? scope.respondTo : 'window',
9797
responsive: scope.responsive || void 0,
9898
rows: scope.rows != null ? parseInt(scope.rows, 10) : 1,
99-
slide: scope.slide || 'div',
99+
slide: scope.slide || '',
100100
slidesPerRow: scope.slidesPerRow != null ? parseInt(scope.slidesPerRow, 10) : 1,
101101
slidesToShow: scope.slidesToShow != null ? parseInt(scope.slidesToShow, 10) : 1,
102102
slidesToScroll: scope.slidesToScroll != null ? parseInt(scope.slidesToScroll, 10) : 1,

0 commit comments

Comments
 (0)