Even more improvements #5

Merged
norbert.tretkowski merged 5 commits from max.lissowski/mastowall:for-pi2 into main 2023-11-25 10:21:12 +01:00
Showing only changes of commit 8efbafef3c - Show all commits

View file

@ -341,9 +341,7 @@ $(document).ready(async function() {
const newPosts = await Promise.all(hashtagsArray.map(hashtag => fetchPosts(serverUrl, hashtag)));
let updated = updateWall(newPosts.flat());
if ( updated > 0 ) {
hideCarousel()
updateCarousel(slides, newPosts.flat());
setTimeout(async function() { showCarousel(); }, duration)
}
}, refresh);
} else {