Revert "fix(js): remove dead testimonialSlider/flexslider call from scripts.js"
This reverts commit 59c3bae5b2.
This commit is contained in:
+22
-3
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user