for-pi2 #3

Merged
norbert.tretkowski merged 5 commits from max.lissowski/mastowall:for-pi2 into for-pi2 2023-11-24 21:14:12 +01:00
Showing only changes of commit c274648f09 - Show all commits

View file

@ -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 += `