Skip to content

Commit

Permalink
Prettified Code!
Browse files Browse the repository at this point in the history
  • Loading branch information
zero01101 authored and actions-user committed Aug 12, 2023
1 parent 674bdbe commit b60b4fc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
4 changes: 3 additions & 1 deletion css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
Expand Down
9 changes: 6 additions & 3 deletions js/ui/tool/dream.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion pages/configuration.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
Expand Down

0 comments on commit b60b4fc

Please sign in to comment.