From e128e21315c083a39e550ceac4c19ac42e953259 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 24 Aug 2026 19:37:48 +0300 Subject: [PATCH] fixes --- src/components/timeline/timeline.js | 2 +- src/components/timeline/timeline.vue | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js index b1fdef386..029693651 100644 --- a/src/components/timeline/timeline.js +++ b/src/components/timeline/timeline.js @@ -235,11 +235,11 @@ const Timeline = { this.virtualScrollIndex = approxIndex }, scrollLoad() { + // TODO simplify this logic const bodyBRect = document.body.getBoundingClientRect() const height = Math.max(bodyBRect.height, -bodyBRect.y) if ( !this.timeline.fetcher.loadingOlder.value && - this.$el.offsetHeight > 0 && window.innerHeight + window.pageYOffset >= height - 750 ) { this.fetchOlderStatuses() diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue index 69657525c..1435bba48 100644 --- a/src/components/timeline/timeline.vue +++ b/src/components/timeline/timeline.vue @@ -1,7 +1,6 @@