From 815f7f707b125b979e9e39a2c39f1a1282926a7b Mon Sep 17 00:00:00 2001 From: Florian Sylvain Date: Sun, 6 Feb 2022 21:37:31 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20Removed=20css=20lazy=20loading?= =?UTF-8?q?=20(not=20user-friendly)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 4 +--- script.js | 11 ----------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/index.html b/index.html index fac466f..3d2c4a6 100644 --- a/index.html +++ b/index.html @@ -5,9 +5,7 @@ - + Florian Sylvain diff --git a/script.js b/script.js index e8b0151..a3632a4 100644 --- a/script.js +++ b/script.js @@ -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";