From 7401e0da1d8459786d0ab61eabf7feaa6b8a2651 Mon Sep 17 00:00:00 2001 From: nroh555 Date: Thu, 14 Mar 2024 23:21:48 +1300 Subject: [PATCH] Removed comments --- src/app/(components)/script.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/app/(components)/script.js b/src/app/(components)/script.js index ee3b279..eea5094 100644 --- a/src/app/(components)/script.js +++ b/src/app/(components)/script.js @@ -1,14 +1,3 @@ -// navLinkEls = document.querySelector('.linksContainer').querySelectorAll('a'); -// console.log(navLinkEls); - -// navLinkEls.forEach(element => { -// element.addEventListener('click', () => { -// navLinkEls.forEach(nav => nav.classList.remove('.active')) - -// this.classList.add('.active'); -// }) -// }); - const navLinkEls = document.querySelectorAll(".navLinks"); navLinkEls.forEach((navLinkEl) => {