Skip to content

Commit 9d7916d

Browse files
authored
pedantry
1 parent 7d5b87c commit 9d7916d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

latest.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
.then(data => {
1919
pdf_url = "https://rawcdn.githack.com/Minecraft-Java-Edition-Speedrunning/rules/main/pub/pdf/" + data.at(-1).name
2020
link = document.getElementById("githack")
21-
link.href = link.innerHTML = pdf_url
21+
link.href = link.innerText = pdf_url
2222
window.location.replace(pdf_url)
2323
})
2424
})
@@ -31,3 +31,4 @@ <h2 id="js">This site requires JavaScript!</h2>
3131
</body>
3232

3333
</html>
34+

0 commit comments

Comments
 (0)