mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-03 22:36:09 +00:00
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:
parent
7462d61e16
commit
ecd9828afc
@ -408,9 +408,11 @@ Module.register("weatherforecast", {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Log.log(this.forecast);
|
//Log.log(this.forecast);
|
||||||
this.show(this.config.animationSpeed, { lockString: this.identifier });
|
if (!this.hidden) {
|
||||||
this.loaded = true;
|
this.show(this.config.animationSpeed, { lockString: this.identifier });
|
||||||
this.updateDom(this.config.animationSpeed);
|
this.loaded = true;
|
||||||
|
this.updateDom(this.config.animationSpeed);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/* scheduleUpdate()
|
/* scheduleUpdate()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user