summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2022-06-22 21:08:20 -0400
committermattkae <mattkae@protonmail.com>2022-06-22 21:08:20 -0400
commit799e8660641920b5adc1c1aa8a36f9dd72722047 (patch)
tree1bcdea3c4ef76ba9348aa8694343ab20667dc097
parentada7e2de99de2b87f5a1ca3ba7f1896c8a664d21 (diff)
Much faster loading times
-rw-r--r--index.js2
-rwxr-xr-xresume.html5
2 files changed, 4 insertions, 3 deletions
diff --git a/index.js b/index.js
index f666098..fd949b7 100644
--- a/index.js
+++ b/index.js
@@ -90,4 +90,4 @@ function runCarousel() {
imageContainer.style.opacity = '1';
}
-window.onload = main;
+main();
diff --git a/resume.html b/resume.html
index 90e4acc..bf43734 100755
--- a/resume.html
+++ b/resume.html
@@ -3,7 +3,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<link rel="stylesheet" href="/index.css">
- <link rel="stylesheet" href="/resume.css">
+ <link rel="stylesheet" href="/resume.css">
+ <script src='/resume.js' defer></script>
+
<title>Matthew Kosarek</title>
<link rel="shortcut icon" href="/favicon/favicon.ico" type="image/x-icon">
</head>
@@ -203,5 +205,4 @@
</section>
</section>
</body>
- <script src='/resume.js'></script>
</html>