Closed aalega2 closed 6 years ago
Hi,
I'll try to look into it this week, no promise ;)
toUpperCase()
is missing (holder.codeToCountry[key])
for(var key in holder.codeToCountry) {
holder.countryToCode[holder.codeToCountry[key].toUpperCase()] = key;
holder.countryCodes.push(key);
}
Hi,
I like the plugin, however everything works except for getCountryCode. Any ideas?