diff options
author | Mario <mario@mariovavti.com> | 2025-06-09 08:11:41 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2025-06-09 08:11:41 +0000 |
commit | 340f5bb79127d2e2cd26cbf43de4efb39c08a9a9 (patch) | |
tree | f95f3439688b81c63eed11c8f0e88ab74d3be84e | |
parent | 5504c8650e632ec2032248b64ccff8038d0f36b3 (diff) | |
download | volse-hubzilla-340f5bb79127d2e2cd26cbf43de4efb39c08a9a9.tar.gz volse-hubzilla-340f5bb79127d2e2cd26cbf43de4efb39c08a9a9.tar.bz2 volse-hubzilla-340f5bb79127d2e2cd26cbf43de4efb39c08a9a9.zip |
do not count iterations where we have not found a new thread
-rw-r--r-- | view/js/main.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/view/js/main.js b/view/js/main.js index 6e547b576..eed1a21f1 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -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!'); |