activity: pseudo links work on refresh

This commit is contained in:
Harvey Tindall
2023-10-22 15:02:03 +01:00
parent 0238c6778c
commit de3c06129d
8 changed files with 69 additions and 17 deletions
+1
View File
@@ -597,6 +597,7 @@ export class activityList {
}
detectScroll = () => {
if (!this._hasLoaded) return;
// console.log(window.innerHeight + document.documentElement.scrollTop, document.scrollingElement.scrollHeight);
if (Math.abs(window.innerHeight + document.documentElement.scrollTop - document.scrollingElement.scrollHeight) < 50) {
// window.notifications.customSuccess("scroll", "Reached bottom.");