Skip to content

Commit

Permalink
icontable definition fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
RedNax67 committed Feb 18, 2017
1 parent 1fecd52 commit eb900e3
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions MMM-WunderGround.js
Expand Up @@ -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++) {

Expand Down

0 comments on commit eb900e3

Please sign in to comment.