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:
sergge1
2020-02-06 00:04:48 +02:00
committed by GitHub
parent d7f6f46805
commit 271f1cd71b

View File

@@ -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);