diff --git a/js/misc/weather.js b/js/misc/weather.js index 4d63d745b..3e1a2ba86 100644 --- a/js/misc/weather.js +++ b/js/misc/weather.js @@ -154,7 +154,7 @@ var WeatherClient = class { this._weatherProxy.connect('g-properties-changed', this._onWeatherPropertiesChanged.bind(this)); - if (this._weatherProxy.g_owner != null) + if (this._weatherProxy.g_name_owner != null) this._onWeatherPropertiesChanged(); }