mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
do not count iterations where we have not found a new thread
This commit is contained in:
@@ -1689,11 +1689,10 @@ const autoExpand = (function () {
|
||||
|
||||
// Wait between iterations to allow UI to update
|
||||
if (newButtonsFound) {
|
||||
iteration++;
|
||||
await new Promise(res => setTimeout(res, 700));
|
||||
}
|
||||
|
||||
iteration++;
|
||||
|
||||
} while (newButtonsFound);
|
||||
|
||||
console.log('All replies loaded!');
|
||||
|
||||
Reference in New Issue
Block a user