FIX: Every bit of JS/CSS is asynchonously loaded in.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html lang="en" bgcolor="black">
|
||||
<head>
|
||||
<title>Resume of Maxim Voldman Hutz</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
@@ -32,10 +32,10 @@
|
||||
<link rel="preload" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css" as="style">
|
||||
|
||||
<!-- Resume styling. -->
|
||||
<link rel="stylesheet" type="text/css" href="index.css">
|
||||
<link rel="preload" href="index.css" as="style">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<body hidden>
|
||||
<nav class="navbar">
|
||||
<header class="resume-header">Resume</header>
|
||||
</nav>
|
||||
|
||||
@@ -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