check for support oops

This commit is contained in:
MathMan05
2026-01-27 10:03:39 -06:00
parent f2a1bed372
commit ce134d331a
+1 -1
View File
@@ -250,7 +250,7 @@ class InfiniteScroller {
.map((_) => this.heightMap.get(_ as HTMLElement))
.filter((_) => _ !== undefined)
.reduce((a, b) => a + b, 0);
this.div!.scrollTop -= heights;
if (!supports) this.div!.scrollTop -= heights;
list.forEach((_) => this.removeElm(_));
break;
}