fix pause on mouse-over

This commit is contained in:
Stefan Schmidt-Bilkenroth 2023-11-16 18:01:30 +01:00
parent 53f5b71b32
commit ec6c88d83e

View file

@ -132,10 +132,10 @@ const updateCarousel = function(slides, posts) {
let post = posts[i];
/*console.log( post.content )*/
if ( i == 0 ) {
newHTML += `<div class="carousel-item active" data-mdb-interval="${duration}" >`;
newHTML += `<div class="carousel-item active" data-mdb-interval="${duration}" data-mdb-pause="false">`;
}
else {
newHTML += `<div class="carousel-item" data-mdb-interval="${duration}" >`;
newHTML += `<div class="carousel-item" data-mdb-interval="${duration}" data-mdb-pause="false">`;
}
newHTML += `
<div class="card-big">