From e04dd2ee179f6514f9ddf1ff4c49015fa0ac9061 Mon Sep 17 00:00:00 2001 From: zero01101 Date: Sat, 15 Jul 2023 17:13:01 +0000 Subject: [PATCH] Prettified Code! --- index.html | 2 +- js/ui/tool/dream.js | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 63753e8..a140a79 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ - + diff --git a/js/ui/tool/dream.js b/js/ui/tool/dream.js index 524f336..a591791 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();