fix pause on mouse-over
This commit is contained in:
parent
53f5b71b32
commit
ec6c88d83e
1 changed files with 2 additions and 2 deletions
|
@ -132,10 +132,10 @@ const updateCarousel = function(slides, posts) {
|
||||||
let post = posts[i];
|
let post = posts[i];
|
||||||
/*console.log( post.content )*/
|
/*console.log( post.content )*/
|
||||||
if ( i == 0 ) {
|
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 {
|
else {
|
||||||
newHTML += `<div class="carousel-item" data-mdb-interval="${duration}" >`;
|
newHTML += `<div class="carousel-item" data-mdb-interval="${duration}" data-mdb-pause="false">`;
|
||||||
}
|
}
|
||||||
newHTML += `
|
newHTML += `
|
||||||
<div class="card-big">
|
<div class="card-big">
|
||||||
|
|
Loading…
Reference in a new issue