mirror of
https://github.com/2009scape/2009scape.github.io.git
synced 2024-11-23 19:32:50 +01:00
Fix parameters being copied when they didn't exist
This commit is contained in:
parent
0ed52f4f91
commit
d682102c1d
@ -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