Test
Signed-off-by: Bruno Rybársky <bruno@brn.systems>
This commit is contained in:
parent
b68721668b
commit
1d81d840cf
@ -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',
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user