diff --git a/static/js/scripts.js b/static/js/scripts.js index dd999d4..9e9b100 100644 --- a/static/js/scripts.js +++ b/static/js/scripts.js @@ -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 - // are both Bootstrap-3, initialized via data-ride="carousel". + // ------------------------------------------------------------- + // 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 + }); }); // JQuery end