Prettified Code!

This commit is contained in:
zero01101 2024-03-02 13:19:58 +00:00 committed by GitHub Action
parent e720f4dd8f
commit 882c1ff9fc
2 changed files with 15 additions and 12 deletions

View file

@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en-US">
<head>
<meta charset="utf-8" />

View file

@ -62,9 +62,12 @@ const _monitorProgress = (bb, oncheck = null) => {
}
const timeSpent = performance.now() - init;
setTimeout(() => {
setTimeout(
() => {
if (running) _checkProgress();
}, Math.max(0, minDelay - timeSpent));
},
Math.max(0, minDelay - timeSpent)
);
};
_checkProgress();