We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b240aa3 commit b03cc6aCopy full SHA for b03cc6a
index.html
@@ -20,7 +20,7 @@
20
return res.json();
21
})
22
.then(data => {
23
- data.filter(it => !it.name.includes("beta")).sort(it => it.name.split(".")[0].split("_").at(-1))
+ data.filter(it => !it.name.includes("beta")).sort(it => it.name.split(".")[0].split("_").at(-1).substring(1))
24
pdf_url = "https://rawcdn.githack.com/Minecraft-Java-Edition-Speedrunning/rules/main/pub/pdf/" + data.at(-1).name
25
link.href = link.innerHTML = window.location.href = pdf_url
26
@@ -33,4 +33,5 @@
33
href="https://github.com/Minecraft-Java-Edition-Speedrunning/rules"> click here for the rules repo</a>.</p>
34
</body>
35
36
-</html>
+
37
+</html>
0 commit comments