From 7a701882f49b5876fc8132d24abb233db15d198e Mon Sep 17 00:00:00 2001 From: CDevs Date: Sun, 15 Sep 2024 13:34:51 +0200 Subject: [PATCH] fixed no url bug js --- script.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/script.js b/script.js index fea404b..d504875 100644 --- a/script.js +++ b/script.js @@ -23,6 +23,7 @@ function updateFooterText() { var footer = document.getElementById("creator"); // Assuming your footer text has this ID // Check which page the user is on and change the footer text + footer.innerHTML = "Createur de la page : Constant SUCHET"; if (path.includes("index")) { footer.innerHTML = "Createur de la page : Constant SUCHET"; } else if (path.includes("Innovations")) { @@ -31,8 +32,6 @@ function updateFooterText() { footer.innerHTML = "Createur de la page : Touzi Tahar Amin"; } else if (path.includes("Evolution")) { footer.innerHTML = "Createur de la page : Jibryl Tebib"; - } else { - footer.innerHTML = "Createur de la page : Constant SUCHET"; } }