Revert "fix(carousel): initialize Bootstrap carousels explicitly instead of relying on data-ride auto-init"
This reverts commit ad9b978248.
This commit is contained in:
+3
-10
@@ -80,16 +80,9 @@ jQuery(function ($) {
|
||||
}());
|
||||
|
||||
|
||||
// -------------------------------------------------------------
|
||||
// Bootstrap carousel — explicit init (data-ride auto-init is
|
||||
// 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
|
||||
});
|
||||
// testimonialSlider block removed — used flexslider for a widget that
|
||||
// does not exist in this rebuild. Hero carousel and employees carousel
|
||||
// are both Bootstrap-3, initialized via data-ride="carousel".
|
||||
|
||||
}); // JQuery end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user