url currency selector case independant
This commit is contained in:
parent
67c6aedc1c
commit
b941baa456
2 changed files with 2 additions and 2 deletions
|
@ -9507,7 +9507,7 @@ if (ninja.getQueryString()["showseedpool"] == "true" || ninja.getQueryString()["
|
|||
janin.selectedCurrency = janin.currencies[1];
|
||||
if (ninja.getQueryString()["currency"] != undefined) {
|
||||
for(i = 0; i < janin.currencies.length; i++) {
|
||||
if (janin.currencies[i].name == ninja.getQueryString()["currency"])
|
||||
if (janin.currencies[i].name.toLowerCase() == ninja.getQueryString()["currency"].toLowerCase())
|
||||
janin.currency.useCurrency(i);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@ if (ninja.getQueryString()["showseedpool"] == "true" || ninja.getQueryString()["
|
|||
janin.selectedCurrency = janin.currencies[1];
|
||||
if (ninja.getQueryString()["currency"] != undefined) {
|
||||
for(i = 0; i < janin.currencies.length; i++) {
|
||||
if (janin.currencies[i].name == ninja.getQueryString()["currency"])
|
||||
if (janin.currencies[i].name.toLowerCase() == ninja.getQueryString()["currency"].toLowerCase())
|
||||
janin.currency.useCurrency(i);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue