diff --git a/src/js/pagination.js b/src/js/pagination.js index 3cd193d..e69de29 100644 --- a/src/js/pagination.js +++ b/src/js/pagination.js @@ -1,13 +0,0 @@ -document.addEventListener("DOMContentLoaded", function() { - const button1 = document.querySelector(".home-button"); - const button2 = document.querySelector(".favourites-button"); - const currentPage = window.location.pathname; - if (currentPage.includes("index")) { - button1.classList.add("header-button1-act"); - console.log(111); - } else if (currentPage.includes("favorites")) { - button2.classList.add("header-button2-act"); - } -}); - - diff --git a/src/partials/header.html b/src/partials/header.html index 5ee5b33..457f5f5 100644 --- a/src/partials/header.html +++ b/src/partials/header.html @@ -1,7 +1,7 @@