Prettified Code!
This commit is contained in:
parent
674bdbe11b
commit
b60b4fccdf
4 changed files with 11 additions and 6 deletions
|
@ -82,7 +82,9 @@ body {
|
|||
max-height: 0;
|
||||
overflow-y: clip;
|
||||
overflow-x: visible;
|
||||
transition: max-height 0.2s ease-out, height 0s ease-out;
|
||||
transition:
|
||||
max-height 0.2s ease-out,
|
||||
height 0s ease-out;
|
||||
}
|
||||
|
||||
.menu-container {
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
|
|
Loading…
Reference in a new issue