diff --git a/modules/default/weather/weather.js b/modules/default/weather/weather.js index 8a4810fd..a084f791 100644 --- a/modules/default/weather/weather.js +++ b/modules/default/weather/weather.js @@ -152,9 +152,9 @@ Module.register("weather", { // What to do when the weather provider has new information available? updateAvailable: function () { Log.log("New weather information available."); - this.sendNotification("CURRENTWEATHER_TYPE", { type: this.weatherProvider.currentWeather().weatherType.replace("-", "_") }); this.updateDom(0); this.scheduleUpdate(); + this.sendNotification("CURRENTWEATHER_TYPE", { type: this.weatherProvider.currentWeather().weatherType.replace("-", "_") }); }, scheduleUpdate: function (delay = null) {