Skip to content

Commit

Permalink
sync with main repo
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 30, 2024
1 parent fcd155c commit b08de5f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -988,14 +988,11 @@
listContainer.replaceChildren(fragment);
} else {
stat.observer.disconnect();
listContainer.removeChild(listContainer.lastElementChild); // Marker
listContainer.lastElementChild.style.backgroundColor = '#f1f1f1';
listContainer.appendChild(fragment);
}
if (stat.renderedItems < stat.children.length) {
const loadingMarker = document.createElement('div');
listContainer.appendChild(loadingMarker);
stat.observer.observe(loadingMarker);
stat.observer.observe(listContainer.lastElementChild);
}
}
}
Expand Down

0 comments on commit b08de5f

Please sign in to comment.