diff --git a/website/site/de/index.html b/website/site/de/index.html index c021141..4148534 100755 --- a/website/site/de/index.html +++ b/website/site/de/index.html @@ -580,19 +580,6 @@

Whitespace

//console.log(item) }, }); - - // Get all the anchor elements inside the nav_menu - const navLinks = document.querySelectorAll(".nav_menu li a"); - - navLinks.forEach((link) => { - link.addEventListener("click", function (event) { - event.preventDefault(); - navLinks.forEach((link) => { - link.classList.remove("active"); - }); - this.classList.add("active"); - }); - }); diff --git a/website/site/en/index.html b/website/site/en/index.html index 4bc173b..951c0e5 100755 --- a/website/site/en/index.html +++ b/website/site/en/index.html @@ -587,19 +587,6 @@

Whitespace

//console.log(item) }, }); - - // Get all the anchor elements inside the nav_menu - const navLinks = document.querySelectorAll(".nav_menu li a"); - - navLinks.forEach((link) => { - link.addEventListener("click", function (event) { - event.preventDefault(); - navLinks.forEach((link) => { - link.classList.remove("active"); - }); - this.classList.add("active"); - }); - });