Skip to content

Commit

Permalink
Multi-slider
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin-Fredericks committed Sep 27, 2024
1 parent afaf676 commit 3c8ff5a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hx.js
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,9 @@ var HXGlobalJS = function () {
let slick_ready = setInterval(function () {
if (typeof $.fn.slick !== 'undefined') {
clearInterval(slick_ready);
slider.slick(hxOptions.slickOptions);
slider.each(function (i, s) {
$(s).slick(hxOptions.slickOptions);
});
logThatThing({ slider: 'created' });
}
slick_ready_counter++;
Expand Down

0 comments on commit 3c8ff5a

Please sign in to comment.