FIX: Every bit of JS/CSS is asynchonously loaded in.
This commit is contained in:
@@ -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");
|
||||
}
|
||||
Reference in New Issue
Block a user