FIX: Every bit of JS/CSS is asynchonously loaded in.

This commit is contained in:
MajorDroolz
2022-12-18 03:16:39 -05:00
parent 20a88a0a24
commit 568b7303c7
2 changed files with 6 additions and 7 deletions

View File

@@ -1,6 +1,5 @@
window.onload = function () {
window.onload = () => {
const links = document.querySelectorAll('link[rel="preload"]');
for (const link of links) {
link.rel = 'stylesheet';
}
for (const link of links) link.rel = 'stylesheet';
document.body.removeAttribute("hidden");
}