From 3abe6aed5cf4ddb37fcfc1c03df59c57e5867c9c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 27 Dec 2022 11:07:16 +0100 Subject: it's a secret to everybody. --- public/static/js/travelynx-actions.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'public/static') diff --git a/public/static/js/travelynx-actions.js b/public/static/js/travelynx-actions.js index ea17431..054b600 100644 --- a/public/static/js/travelynx-actions.js +++ b/public/static/js/travelynx-actions.js @@ -266,4 +266,9 @@ $(document).ready(function() { $('a[href]').click(function() { $('nav .preloader-wrapper').addClass('active'); }); + const elems = document.querySelectorAll('.carousel'); + const instances = M.Carousel.init(elems, { + fullWidth: true, + indicators: true} + ); }); -- cgit v1.2.3