Fix an oops
This commit is contained in:
parent
8de96ca8b7
commit
54afd81817
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ module.exports = {
|
||||||
getCountryID:function(code = "") {
|
getCountryID:function(code = "") {
|
||||||
// Get id of a country from a 2 char code
|
// Get id of a country from a 2 char code
|
||||||
code = code.toUpperCase();
|
code = code.toUpperCase();
|
||||||
if (countryCodes[s] != null) return countryCodes[s];
|
if (countryCodes[code] != null) return countryCodes[code];
|
||||||
else return 0;
|
else return 0;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue