Update main.js

This commit is contained in:
versuscam 2022-05-21 05:20:12 -04:00 committed by GitHub
parent 8275e35889
commit 0b9f8c8976
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1771,7 +1771,7 @@ async function main(){ // main asyncronous thread; mostly initializes the user s
document.querySelector(':root').style.setProperty('--background-color',"#02050c" );
} else {
document.body.classList.remove("darktheme");
document.querySelector(':root').style.setProperty('--background-color',"#141926" );
//document.querySelector(':root').style.setProperty('--background-color',"#141926" );
}
} catch(e){errorlog(e);}
@ -4573,4 +4573,4 @@ setTimeout(function(){ // lazy load
script.src = "./thirdparty/StreamSaver.js?v=10"; // dynamically load this only if its needed. Keeps loading time down.
};
script.src = "./thirdparty/polyfill.min.js"; // dynamically load this only if its needed. Keeps loading time down.
},0);
},0);