Signed-off-by: Bruno Rybársky <bruno@brn.systems>
This commit is contained in:
Bruno Rybársky 2024-11-12 16:48:53 +01:00
parent b68721668b
commit 1d81d840cf
No known key found for this signature in database
GPG Key ID: 6C9206A821C70598

@ -83,7 +83,7 @@ async function doAction(url, requestData, successMessage, failureMessage, silent
async function doSlicks() {
const elements = document.getElementsByClassName('sliderm');
elements.forEach(function (element) {
Array.prototype.forEach.call(elements, function (element) {
// Initialize the Slick carousel on each element
const sliderm = new Sliderm('#' + element.id, {
arrow: true,
@ -96,7 +96,6 @@ async function doSlicks() {
spacing: 10,
align: 'center',
});
});
}