diff --git a/index.html b/index.html index eb94627af..aa3cc521f 100644 --- a/index.html +++ b/index.html @@ -309,5 +309,5 @@ - + diff --git a/services/m=hiscore/helpers.js b/services/m=hiscore/helpers.js index ac35b57e4..032f14eaa 100644 --- a/services/m=hiscore/helpers.js +++ b/services/m=hiscore/helpers.js @@ -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,) => {