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 ($) {
|
|||||||
}());
|
}());
|
||||||
|
|
||||||
|
|
||||||
// -------------------------------------------------------------
|
// testimonialSlider block removed — used flexslider for a widget that
|
||||||
// Bootstrap carousel — explicit init (data-ride auto-init is
|
// does not exist in this rebuild. Hero carousel and employees carousel
|
||||||
// data-api based and was flaky on this custom Bootstrap-3 build
|
// are both Bootstrap-3, initialized via data-ride="carousel".
|
||||||
// once the flexslider script was removed).
|
|
||||||
// -------------------------------------------------------------
|
|
||||||
$('.carousel').carousel({
|
|
||||||
interval: 5000,
|
|
||||||
pause: 'hover',
|
|
||||||
wrap: true
|
|
||||||
});
|
|
||||||
|
|
||||||
}); // JQuery end
|
}); // JQuery end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user