improved tips code quality

This commit is contained in:
2025-01-05 01:38:21 +01:00
parent d913d95793
commit cde06f7a85
6 changed files with 56 additions and 36 deletions
+3 -15
View File
@@ -1,21 +1,9 @@
document.addEventListener("DOMContentLoaded", function() {
startLoadingScreen()
CURRENT_PAGE = PAGES.SYNTHWAVE
setLoadingProgress("Calculating pixel density...")
calcPixelDensity()
function loadingScreenSynthwave() {
setLoadingProgress("Adding stars...")
addStars()
pauseAnimBtn(localStorage["isAnimating"] || "true")
if (showLoading != "true") {
removeLoadingScreen()
}
else {
setLoadingProgress("Cleaning up...")
}
}, false)
}
function addStars() {