Fix extra card interval

This commit is contained in:
Max L. 2023-11-23 21:06:54 +01:00
parent 8cdc4ea5c3
commit de46f7c7b8
No known key found for this signature in database
GPG key ID: 2F963B95632B8467

View file

@ -197,7 +197,7 @@ const updateCarousel = function(slides, posts) {
newHTML += '</div>';
}
for( let i = 0; i < extraCards.length; i++ ) {
newHTML += `<div class="carousel-item" data-mdb -interval="${duration * 2}" data-mdb-pause="false">
newHTML += `<div class="carousel-item" data-mdb-interval="${duration * 2}" data-mdb-pause="false">
<div className="card-big">
<div class="d-flex align-items-center mb-4">
${extraCards[i]}