Fix extra cards display duration
This commit is contained in:
parent
004c92b392
commit
ec902d12f2
1 changed files with 1 additions and 1 deletions
|
@ -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]}
|
||||
|
|
Loading…
Reference in a new issue