diff --git a/MMM-YrThen.js b/MMM-YrThen.js index a1cf555..47ee8df 100644 --- a/MMM-YrThen.js +++ b/MMM-YrThen.js @@ -156,7 +156,9 @@ Module.register('MMM-YrThen', { minValue = this.round(newData.temperature.min, 1); } if(this.config.showMaxMin){ - if(newData.temperature.min && newData.temperature.max) forecastCell.innerHTML += '' + minValue + maxMinSeparator + maxValue + '
'; + if(newData.temperature.min && newData.temperature.max){ + forecastCell.innerHTML += '' + minValue + this.config.maxMinSeparator + maxValue + '
'; + } else forecastCell.innerHTML += ' ' + tempValue + '
'; } else{