FIX: Removed large layout shifts.

This commit is contained in:
MajorDroolz
2022-12-19 02:32:14 -05:00
parent 7fcef515a0
commit 6680d1e1a4
4 changed files with 24 additions and 45 deletions

View File

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