From 3c8ff5aa2aa0d1e8db73b32a7374f1223c95e6ba Mon Sep 17 00:00:00 2001 From: Colin-Fredericks Date: Thu, 26 Sep 2024 20:02:11 -0400 Subject: [PATCH] Multi-slider --- hx.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hx.js b/hx.js index f517c68..11d376d 100644 --- a/hx.js +++ b/hx.js @@ -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++;