From ea455270dd755e05c4a47f8d028ae96705804a76 Mon Sep 17 00:00:00 2001 From: Boof <97455552+hexahigh@users.noreply.github.com> Date: Fri, 14 Apr 2023 11:42:53 +0200 Subject: [PATCH] e --- index-allpage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index-allpage.js b/index-allpage.js index 68272c9..019e7e9 100644 --- a/index-allpage.js +++ b/index-allpage.js @@ -23,7 +23,7 @@ function navShow() { if(CurrentPage == "projects", "about", "news") { navMenuImg.src = '../data/images/menu.svg'; } else { - navMenuImg.src = '/data/images/menu.svg'; + navMenuImg.src = 'data/images/menu.svg'; console.log("you are on the homepage") } } else { @@ -31,7 +31,7 @@ function navShow() { if(CurrentPage == "projects", "about", "news") { navMenuImg.src = '../data/images/close.svg'; } else { - navMenuImg.src = '/data/images/close.svg'; + navMenuImg.src = 'data/images/close.svg'; console.log("you are on the homepage") } }