Skip to content

Commit

Permalink
Change href in logo (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
tothmano authored Dec 5, 2024
1 parent 2e44ae9 commit b58cb76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions styles/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ if (document.querySelector("#navbar a")) {

if (logoLink.getAttribute("href") == "/" || logoLink.getAttribute("href") == "/docs") {
logoLink.addEventListener("click", function(){document.location.href = "https://axiom.co/";});
logoLink.setAttribute("href", "https://axiom.co/");
}
}

0 comments on commit b58cb76

Please sign in to comment.