diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-12-27 11:07:16 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2022-12-27 11:07:16 +0100 |
commit | 3abe6aed5cf4ddb37fcfc1c03df59c57e5867c9c (patch) | |
tree | c40d20051de4a0ad33239154ada64196524eac55 /public/static/js/travelynx-actions.js | |
parent | 73fa1a960c6affad0d3131ac62aa961267cdfe7f (diff) |
it's a secret to everybody.
Diffstat (limited to 'public/static/js/travelynx-actions.js')
-rw-r--r-- | public/static/js/travelynx-actions.js | 5 |
1 files changed, 5 insertions, 0 deletions
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} + ); }); |