Fix extra cards display duration

This commit is contained in:
Max L. 2023-11-25 02:21:55 +01:00
parent 004c92b392
commit ec902d12f2
No known key found for this signature in database
GPG key ID: 2F963B95632B8467

View file

@ -218,7 +218,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-interval="${duration * 2}" data-pause="false">
<div className="card-big">
<div class="d-flex align-items-center mb-4">
${extraCards[i]}