mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
actually check the promise
This commit is contained in:
parent
df8d884d91
commit
4044ac56c5
@ -41,6 +41,9 @@ export class TimelineList extends ListView {
|
||||
}
|
||||
|
||||
async _loadAtTopWhile(predicate) {
|
||||
if (this._topLoadingPromise) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
while (predicate()) {
|
||||
// fill, not enough content to fill timeline
|
||||
|
Loading…
Reference in New Issue
Block a user