Skip to content

Commit

Permalink
fixed scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealShreyash committed Dec 2, 2024
1 parent 240ff7f commit b04a03b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions policy.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ const homeButton = document.querySelector("#homebutton");
const inviteButton = document.querySelector(".invitebutton");

homeButton.addEventListener("click", function () {
window.location.href = "https://therealshreyash.github.io/zara-site/index.html";
window.location.href = "index.html";
});

inviteButton.addEventListener("click", function () {
window.location.href = "https://dsc.gg/zara-bot";
});

commandButton.addEventListener("click", function () {
window.location.href = "https://therealshreyash.github.io/zara-site/commands.html";
window.location.href = "commands.html";
});
6 changes: 3 additions & 3 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ const inviteButton = document.querySelector(".invitebutton");
const supportButton = document.querySelector(".supportbutton");

commandButton.addEventListener("click", function () {
window.location.href = "https://therealshreyash.github.io/zara-site/commands.html";
window.location.href = "commands.html";
});

policyButton.addEventListener("click", function () {
window.location.href = "https://therealshreyash.github.io/zara-site/policy.html";
window.location.href = "policy.html";
});

homeButton.addEventListener("click", function () {
window.location.href = "https://therealshreyash.github.io/zara-site/index.html";
window.location.href = "index.html";
});

inviteButton.addEventListener("click", function () {
Expand Down

0 comments on commit b04a03b

Please sign in to comment.