forked from Adleraci/adlerka.top
Test
Signed-off-by: Bruno Rybársky <bruno@brn.systems>
This commit is contained in:
parent
9aac124848
commit
b68721668b
@ -82,7 +82,7 @@ async function doAction(url, requestData, successMessage, failureMessage, silent
|
|||||||
|
|
||||||
|
|
||||||
async function doSlicks() {
|
async function doSlicks() {
|
||||||
const elements = document.querySelectorAll('[sliderm]');
|
const elements = document.getElementsByClassName('sliderm');
|
||||||
elements.forEach(function (element) {
|
elements.forEach(function (element) {
|
||||||
// Initialize the Slick carousel on each element
|
// Initialize the Slick carousel on each element
|
||||||
const sliderm = new Sliderm('#' + element.id, {
|
const sliderm = new Sliderm('#' + element.id, {
|
||||||
|
Loading…
Reference in New Issue
Block a user