Even more improvements #5
1 changed files with 0 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue