Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
TheUnblockedHubOfficial authored Sep 20, 2023
1 parent a02d171 commit f6d26bf
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ <h1>The Unblocked Hub</h1>

<button class="v2-btn">CLICK HERE</button>
</div> <br>
<button class="money-btn">Support Us!</button>
<button class="money-btn">Support Us</button>
</div>
<script>
document.querySelector(".v2-btn").addEventListener("click", () => {
Expand Down Expand Up @@ -112,11 +112,18 @@ <h1>The Unblocked Hub</h1>
homebtns.forEach(btn => {
btn.classList.add(`hvr-${effects[Math.floor(Math.random() * effects.length)]}`)
})
document.addEventListener("DOMContentLoaded", function() {
document.querySelector(".v2-btn").addEventListener("click", () => {
window.location.href = "v2transition.html";
})
document.querySelector(".money-btn").addEventListener("click", () => {
window.location.href = "support.html";
});

const moneyButton = document.querySelector(".money-btn");
if (moneyButton) {
moneyButton.addEventListener("click", () => {
window.location.href = "support.html";
});
}

});
</script>
</div>
Expand Down

0 comments on commit f6d26bf

Please sign in to comment.