Skip to content

Commit b58cb76

Browse files
authored
Change href in logo (#159)
1 parent 2e44ae9 commit b58cb76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

styles/script.js

+1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ if (document.querySelector("#navbar a")) {
1818

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

0 commit comments

Comments
 (0)