We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d1c04d commit 99a2666Copy full SHA for 99a2666
desklet.js
@@ -845,7 +845,7 @@ MyDesklet.prototype = {
845
this.displaycity = this._geocache[locsrc][latlon].city;
846
this.tooltiplocation = this.displaycity
847
if (this.show.meta.country) {
848
- this.displaycity += ', ' + this._geocache[locsrc][latlon].country;
+ if (this._geocache[locsrc][latlon].country !== 'undefined') this.displaycity += ', ' + this._geocache[locsrc][latlon].country;
849
}
850
this._updateLocationDisplay();
851
// no cache - lookup
0 commit comments