From eb900e3d10aff341402c1892cc81beaa6af494d5 Mon Sep 17 00:00:00 2001 From: xander Date: Sat, 18 Feb 2017 15:37:24 +0100 Subject: [PATCH] icontable definition fixed --- MMM-WunderGround.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/MMM-WunderGround.js b/MMM-WunderGround.js index b68658c..dfed3bd 100644 --- a/MMM-WunderGround.js +++ b/MMM-WunderGround.js @@ -832,14 +832,9 @@ Module.register("MMM-WunderGround", { this.sunriseSunsetTime = timeString; this.sunriseSunsetIcon = (sunrise < now && sunset > now) ? "wi-sunset" : "wi-sunrise"; - if (this.config.coloricon) { - this.iconTable = (sunrise < now && sunset > now) ? this.config - .iconTableDayColor : this.config.iconTableNightColor; - } else { - this.iconTable = (sunrise < now && sunset > now) ? this.config + this.iconTable = (sunrise < now && sunset > now) ? this.config .iconTableDay : this.config.iconTableNight; - } - + for (i = 0, count = data.alerts.length; i < count; i++) {