summaryrefslogtreecommitdiff
path: root/public/static/js
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-12-27 11:07:16 +0100
committerDaniel Friesel <derf@finalrewind.org>2022-12-27 11:07:16 +0100
commit3abe6aed5cf4ddb37fcfc1c03df59c57e5867c9c (patch)
treec40d20051de4a0ad33239154ada64196524eac55 /public/static/js
parent73fa1a960c6affad0d3131ac62aa961267cdfe7f (diff)
it's a secret to everybody.
Diffstat (limited to 'public/static/js')
-rw-r--r--public/static/js/travelynx-actions.js5
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}
+ );
});