From 5abf5914a327bc76fff2a3a18c29200cfd71fc14 Mon Sep 17 00:00:00 2001 From: zero01101 Date: Sat, 22 Jul 2023 16:01:24 +0000 Subject: [PATCH] Prettified Code! --- js/ui/tool/dream.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/js/ui/tool/dream.js b/js/ui/tool/dream.js index 1c320d4..be64550 100644 --- a/js/ui/tool/dream.js +++ b/js/ui/tool/dream.js @@ -62,9 +62,12 @@ const _monitorProgress = (bb, oncheck = null) => { } const timeSpent = performance.now() - init; - setTimeout(() => { - if (running) _checkProgress(); - }, Math.max(0, minDelay - timeSpent)); + setTimeout( + () => { + if (running) _checkProgress(); + }, + Math.max(0, minDelay - timeSpent) + ); }; _checkProgress();