From 7cf1f9f4dfa39f20d7c08d423b519cb2e95b13fe Mon Sep 17 00:00:00 2001 From: Florian Sylvain Date: Sat, 5 Mar 2022 20:54:28 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20URL=20section=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script.js b/script.js index 9448465..cf5289e 100644 --- a/script.js +++ b/script.js @@ -1,4 +1,4 @@ -/*jslint browser maxlen:80 */ +/*jslint browser */ /*global window */ const LARGE = 992; @@ -7,7 +7,7 @@ const mainTitle = document.querySelector('.main-title'); const navBar = document.querySelector('body > header'); const navBarElems = document.querySelector('body > header > nav'); const scrollToTop = document.querySelector('#scrollToTop'); -const contentElems = document.querySelectorAll('#content > div, .main-title'); +const contentElems = document.querySelectorAll('#content > section, .main-title'); const backgroundHider = document.querySelector('.background-hider'); const projectsContentList = document.querySelectorAll('.article-content');