mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-07-29 18:29:27 +00:00
check for support oops
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user