Revert "fix(js): remove dead testimonialSlider/flexslider call from scripts.js"

This reverts commit 59c3bae5b2.
This commit is contained in:
2026-05-21 11:40:36 +02:00
parent f0173b80a2
commit e4a90646de
+22 -3
View File
@@ -80,9 +80,28 @@ 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".
// -------------------------------------------------------------
// testimonialSlider
// -------------------------------------------------------------
(function () {
$('.testimonialSlider').flexslider({
animation: "slide",
controlNav: "thumbnails",
directionNav: false
})
// Navigation
$('.prev').on('click', function(){
$('.testimonialSlider').flexslider('prev')
return false;
})
$('.next').on('click', function(){
$('.testimonialSlider').flexslider('next')
return false;
})
}());
}); // JQuery end