mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Fix grunt errors
This commit is contained in:
parent
62ce7a0e37
commit
335ae0105f
@ -143,15 +143,15 @@ Module.register("weatherforecast",{
|
|||||||
var degreeLabel = "";
|
var degreeLabel = "";
|
||||||
if(this.config.scale) {
|
if(this.config.scale) {
|
||||||
switch(this.config.units) {
|
switch(this.config.units) {
|
||||||
case "metric":
|
case "metric":
|
||||||
degreeLabel = " °C";
|
degreeLabel = " °C";
|
||||||
break;
|
break;
|
||||||
case "imperial":
|
case "imperial":
|
||||||
degreeLabel = " °F";
|
degreeLabel = " °F";
|
||||||
break;
|
break;
|
||||||
case "default":
|
case "default":
|
||||||
degreeLabel = "K";
|
degreeLabel = "K";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user