mirror of
https://github.com/2009scape/2009scape.github.io.git
synced 2024-11-23 11:23:17 +01:00
Fix parameters being copied when they didn't exist
This commit is contained in:
parent
0ed52f4f91
commit
d682102c1d
@ -309,5 +309,5 @@
|
||||
|
||||
</body>
|
||||
<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">
|
||||
|
||||
|
||||
</html>
|
||||
|
@ -126,7 +126,7 @@ hiscores.filter = (result) => {
|
||||
}
|
||||
|
||||
hiscores.getFiltersAsURLparams = () => {
|
||||
return `?iron=${getParam("iron")}?hciron=${getParam("hciron")}?ultiron=${getParam("ultiron")}?maxXP=${getParam("maxXP")}`;
|
||||
return getParam("iron") ? `?iron=${getParam("iron")}?hciron=${getParam("hciron")}?ultiron=${getParam("ultiron")}?maxXP=${getParam("maxXP")}` : "";
|
||||
}
|
||||
|
||||
hiscores.formatName = (name, ironStatus = 0, xpRate = 10, aposS = false,) => {
|
||||
|
Loading…
Reference in New Issue
Block a user