From 21f17c4694a6c90c7dba3f87ed07ec5e4aab9aac Mon Sep 17 00:00:00 2001 From: TheRealShreyash Date: Mon, 2 Dec 2024 17:12:40 +0530 Subject: [PATCH] fixed scripts --- policy.js | 4 ++-- script.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) 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 () {