mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-30 21:13:49 +00:00
to make logic of name to actual behaviour
hideTemp = false -> temp shold appear at the MM hideTemp === true -> should not appear. This is the logic. Worked vise versa, just corrected in the code
This commit is contained in:
parent
d7f6f46805
commit
271f1cd71b
@ -217,7 +217,7 @@ Module.register("currentweather",{
|
|||||||
this.config.decimalSymbol = ".";
|
this.config.decimalSymbol = ".";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.config.hideTemp === true) {
|
if (this.config.hideTemp === false) {
|
||||||
var weatherIcon = document.createElement("span");
|
var weatherIcon = document.createElement("span");
|
||||||
weatherIcon.className = "wi weathericon " + this.weatherType;
|
weatherIcon.className = "wi weathericon " + this.weatherType;
|
||||||
large.appendChild(weatherIcon);
|
large.appendChild(weatherIcon);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user