mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
showDirection to showWindDirection
This commit is contained in:
parent
5a5f5318d1
commit
5f8ef64ca4
@ -19,7 +19,7 @@ Module.register("currentweather",{
|
|||||||
timeFormat: config.timeFormat,
|
timeFormat: config.timeFormat,
|
||||||
showPeriod: true,
|
showPeriod: true,
|
||||||
showPeriodUpper: false,
|
showPeriodUpper: false,
|
||||||
showDirection: false,
|
showWindDirection: false,
|
||||||
lang: config.language,
|
lang: config.language,
|
||||||
|
|
||||||
initialLoadDelay: 0, // 0 seconds delay
|
initialLoadDelay: 0, // 0 seconds delay
|
||||||
@ -115,7 +115,7 @@ Module.register("currentweather",{
|
|||||||
windSpeed.innerHTML = " " + this.windSpeed;
|
windSpeed.innerHTML = " " + this.windSpeed;
|
||||||
small.appendChild(windSpeed);
|
small.appendChild(windSpeed);
|
||||||
|
|
||||||
if (this.config.showDirection) {
|
if (this.config.showWindDirection) {
|
||||||
var windDirection = document.createElement("span");
|
var windDirection = document.createElement("span");
|
||||||
windDirection.innerHTML = " " + this.windDirection;
|
windDirection.innerHTML = " " + this.windDirection;
|
||||||
small.appendChild(windDirection);
|
small.appendChild(windDirection);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user