🔥 Removed css lazy loading (not user-friendly)

This commit is contained in:
Florian Sylvain
2022-02-06 21:37:31 +01:00
parent 6d93b96473
commit 815f7f707b
2 changed files with 1 additions and 14 deletions
-2
View File
@@ -5,9 +5,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<noscript>
<link rel="stylesheet" type="text/css" href="stylesheet.css"> <link rel="stylesheet" type="text/css" href="stylesheet.css">
</noscript>
<title>Florian Sylvain</title> <title>Florian Sylvain</title>
</head> </head>
-11
View File
@@ -17,17 +17,6 @@ const projectsIDs = Array.from(projectsContentList)
let lastScrollTop = window.pageYOffset; let lastScrollTop = window.pageYOffset;
function loadCSS() {
"use strict";
const stylesheet = document.createElement('link');
stylesheet.href = 'stylesheet.css';
stylesheet.rel = 'stylesheet';
stylesheet.type = 'text/css';
document.querySelector('head').appendChild(stylesheet);
}
loadCSS();
function toAddClass(toClass, inClass) { function toAddClass(toClass, inClass) {
"use strict"; "use strict";