Compare commits
No commits in common. "02fb2c023fe6c366f20f41fd9e06efbf8881051e" and "f52d2d2c25d35068954ac85328fe44a9003bc410" have entirely different histories.
02fb2c023f
...
f52d2d2c25
1 changed files with 3 additions and 5 deletions
|
@ -244,7 +244,6 @@ const updateCarousel = function(slides, posts) {
|
|||
const showCarousel = function() {
|
||||
// show popover
|
||||
document.getElementById('popover').style.opacity = '1';
|
||||
document.getElementById('popover').style.display = 'block';
|
||||
// Activate Carousel
|
||||
$('#myCarousel').carousel("cycle");
|
||||
}
|
||||
|
@ -255,8 +254,8 @@ const strip = function(html) {
|
|||
}
|
||||
|
||||
const hideCarousel = function() {
|
||||
// hide popover
|
||||
document.getElementById('popover').style.display = 'none';
|
||||
// show popover
|
||||
document.getElementById('popover').style.opacity = '0';
|
||||
// Activate Carousel
|
||||
}
|
||||
|
||||
|
@ -361,9 +360,8 @@ $(document).ready(async function() {
|
|||
|
||||
if ( withCarousel) {
|
||||
updateCarousel(slides, allPosts.flat());
|
||||
setTimeout(async function() { showCarousel(); }, duration);
|
||||
setTimeout(async function() { showCarousel(); }, duration)
|
||||
}
|
||||
else setTimeout(async function() { hideCarousel(); }, duration);
|
||||
setInterval(async function() {
|
||||
const newPosts = await Promise.all(hashtagsArray.map(hashtag => fetchPosts(serverUrl, hashtag)));
|
||||
let updated = updateWall(newPosts.flat());
|
||||
|
|
Loading…
Add table
Reference in a new issue