Skip to content

Commit b03cc6a

Browse files
authored
running my code through my head at 1 am while lying in bed and I remembered I forgot something lol
1 parent b240aa3 commit b03cc6a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
return res.json();
2121
})
2222
.then(data => {
23-
data.filter(it => !it.name.includes("beta")).sort(it => it.name.split(".")[0].split("_").at(-1))
23+
data.filter(it => !it.name.includes("beta")).sort(it => it.name.split(".")[0].split("_").at(-1).substring(1))
2424
pdf_url = "https://rawcdn.githack.com/Minecraft-Java-Edition-Speedrunning/rules/main/pub/pdf/" + data.at(-1).name
2525
link.href = link.innerHTML = window.location.href = pdf_url
2626
})
@@ -33,4 +33,5 @@
3333
href="https://github.com/Minecraft-Java-Edition-Speedrunning/rules"> click here for the rules repo</a>.</p>
3434
</body>
3535

36-
</html>
36+
37+
</html>

0 commit comments

Comments
 (0)