diff --git a/app/app.js b/app/app.js
index c0fa629..ce232d1 100644
--- a/app/app.js
+++ b/app/app.js
@@ -197,6 +197,24 @@ var app = new Vue({
},
+ getCountryName: function(countryCode)
+ {
+ //console.log("getCountryName(" + countryCode + "/" + this.countryCodes.length +"): this.countryCodes=", this.countryCodes);
+ for (var i = 0; i < this.countryCodes.length; i++)
+ {
+ var country = this.countryCodes[i];
+ //console.log("country.code=" + country.code);
+ if (country.code == countryCode)
+ {
+ //console.log("country.name=" + country.name);
+ return country.name;
+ }
+ }
+
+ return "";
+ },
+
+
displayLocation: function()
{
/*
@@ -207,8 +225,9 @@ var app = new Vue({
- + - Your street address -
-- - - Post or Zip cod +
@@ -214,17 +212,22 @@ City or town
- + + + +
++ + + +
++ - The 2-character country code per ISO-3166-1 ALPHA-2, e.g. US, AU, IN (https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) -
-- - - The general region or status where you live - e.g. a US state, or a province, for instance. +
@@ -267,8 +270,8 @@