Prettified Code!
This commit is contained in:
parent
ce182a5bcc
commit
e04dd2ee17
2 changed files with 7 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue