Skip to content

Commit 1b29468

Browse files
authored
Merge pull request #92 from rzubov/master
Update slick.js to prevent TypeError
2 parents 32d16df + 60f9407 commit 1b29468

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
@@ -155,7 +155,7 @@ angular
155155

156156
$timeout(function () {
157157
angular.element(element).css('display', 'block');
158-
slickness.slick(options);
158+
slickness.not('.slick-initialized').slick(options);
159159
});
160160
}
161161

0 commit comments

Comments
 (0)