Fix mixed tabs and whitespace errors

This commit is contained in:
rejas
2020-04-20 22:16:23 +02:00
parent ef8d85773c
commit 941d5d7cd9
7 changed files with 28 additions and 29 deletions

View File

@@ -210,11 +210,11 @@ Module.register("weather",{
if (isNaN(value) || value === 0 || value.toFixed(2) === "0.00") {
value = "";
} else {
if (this.config.weatherProvider === "ukmetoffice") {
if (this.config.weatherProvider === "ukmetoffice") {
value += "%";
} else {
} else {
value = `${value.toFixed(2)} ${this.config.units === "imperial" ? "in" : "mm"}`;
}
}
}
} else if (type === "humidity") {
value += "%";