Fix #61/#58

yahoo_weather
Neroth 12 years ago
parent d0a77c5e9a
commit 32d03b6716
  1. 7
      src/extension.js

@ -544,6 +544,13 @@ const WeatherMenuButton = new Lang.Class({
if(!cities[0]) if(!cities[0])
cities = []; cities = [];
if(cities.length == 0)
{
this._cities = "2373572>Cambridge, Massachusetts (US)";
this.updateCities();
return 0;
}
for(let a in cities) for(let a in cities)
{ {
if(!this.extractWoeid(cities[a])) if(!this.extractWoeid(cities[a]))

Loading…
Cancel
Save