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 ded659e commit ee91b87Copy full SHA for ee91b87
defaultmodules/weather/weather.js
@@ -104,7 +104,7 @@ Module.register("weather", {
104
// All providers run server-side: generate unique instance ID and initialize via node_helper
105
this.instanceId = `${this.identifier}_${Date.now()}`;
106
107
- if (window.initWeatherTheme) window.initWeatherTheme();
+ if (window.initWeatherTheme) window.initWeatherTheme(this);
108
109
Log.log(`[weather] Initializing server-side provider with instance ID: ${this.instanceId}`);
110
@@ -254,7 +254,7 @@ Module.register("weather", {
254
window.updateWeatherTheme(this);
255
} else {
256
this.updateDom(300);
257
- };
+ }
258
259
const currentWeather = this.currentWeatherObject;
260
0 commit comments