for-pi2 #3
1 changed files with 2 additions and 2 deletions
|
@ -180,10 +180,10 @@ const updateCarousel = function(slides, posts) {
|
|||
|
||||
/*console.log( post.content )*/
|
||||
if ( i == 0 ) {
|
||||
newHTML += `<div class="carousel-item active" data-mdb-interval="${duration}" data-mdb-pause="false">`;
|
||||
newHTML += `<div class="carousel-item active" data-interval="${duration}" data-pause="false">`;
|
||||
}
|
||||
else {
|
||||
newHTML += `<div class="carousel-item" data-mdb-interval="${duration}" data-mdb-pause="false">`;
|
||||
newHTML += `<div class="carousel-item" data-interval="${duration}" data-pause="false">`;
|
||||
}
|
||||
const postContent = DOMPurify.sanitize(post.content);
|
||||
newHTML += `
|
||||
|
|
Loading…
Reference in a new issue