Skip to content

Commit

Permalink
fixed no url bug js
Browse files Browse the repository at this point in the history
  • Loading branch information
gh-Constant committed Sep 15, 2024
1 parent 3526132 commit 7a70188
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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")) {
Expand All @@ -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";
}
}

Expand Down

0 comments on commit 7a70188

Please sign in to comment.