diff --git a/policy.js b/policy.js index 6cfaf4c..5886a2a 100644 --- a/policy.js +++ b/policy.js @@ -3,7 +3,7 @@ const homeButton = document.querySelector("#homebutton"); const inviteButton = document.querySelector(".invitebutton"); homeButton.addEventListener("click", function () { - window.location.href = "/index.html"; + window.location.href = "/zara-site/index.html"; }); inviteButton.addEventListener("click", function () { @@ -11,5 +11,5 @@ inviteButton.addEventListener("click", function () { }); commandButton.addEventListener("click", function () { - window.location.href = "/commands.html"; + window.location.href = "/zara-site/commands.html"; }); diff --git a/script.js b/script.js index c917e44..70d71fa 100644 --- a/script.js +++ b/script.js @@ -7,15 +7,15 @@ const inviteButton = document.querySelector(".invitebutton"); const supportButton = document.querySelector(".supportbutton"); commandButton.addEventListener("click", function () { - window.location.href = "/commands.html"; + window.location.href = "/zara-site/commands.html"; }); policyButton.addEventListener("click", function () { - window.location.href = "/policy.html"; + window.location.href = "/zara-site/policy.html"; }); homeButton.addEventListener("click", function () { - window.location.href = "/index.html"; + window.location.href = "/zara-site/index.html"; }); inviteButton.addEventListener("click", function () {