fix(carousel): initialize Bootstrap carousels explicitly instead of relying on data-ride auto-init

This commit is contained in:
2026-05-21 11:39:06 +02:00
parent 59c3bae5b2
commit ad9b978248
+10 -3
View File
@@ -80,9 +80,16 @@ jQuery(function ($) {
}()); }());
// testimonialSlider block removed — used flexslider for a widget that // -------------------------------------------------------------
// does not exist in this rebuild. Hero carousel and employees carousel // Bootstrap carousel explicit init (data-ride auto-init is
// are both Bootstrap-3, initialized via data-ride="carousel". // data-api based and was flaky on this custom Bootstrap-3 build
// once the flexslider script was removed).
// -------------------------------------------------------------
$('.carousel').carousel({
interval: 5000,
pause: 'hover',
wrap: true
});
}); // JQuery end }); // JQuery end