Makes the module stay hidden without a lock.

When this module is hidden from another module, it un-hides itself when it updates itself. With this change it stays hidden, as it should. :)
This commit is contained in:
Erik Pettersson
2020-10-11 21:37:00 +02:00
committed by GitHub
parent 7462d61e16
commit ecd9828afc

View File

@@ -408,9 +408,11 @@ Module.register("weatherforecast", {
}
//Log.log(this.forecast);
if (!this.hidden) {
this.show(this.config.animationSpeed, { lockString: this.identifier });
this.loaded = true;
this.updateDom(this.config.animationSpeed);
}
},
/* scheduleUpdate()