mirror of
https://github.com/Floriansylvain/portfolio.git
synced 2026-08-19 11:43:20 +02:00
🔥 Removed css lazy loading (not user-friendly)
This commit is contained in:
+1
-3
@@ -5,9 +5,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<noscript>
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css">
|
||||
</noscript>
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css">
|
||||
|
||||
<title>Florian Sylvain</title>
|
||||
</head>
|
||||
|
||||
@@ -17,17 +17,6 @@ const projectsIDs = Array.from(projectsContentList)
|
||||
|
||||
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) {
|
||||
"use strict";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user