@@ -343,12 +343,12 @@ Module.register("MMM-OneCallWeather", {
343343 row . appendChild ( iconCell ) ;
344344
345345 const maxTempCell = document . createElement ( "td" ) ;
346- maxTempCell . innerHTML = dailyForecast . maxTemperature + degreeLabel ;
346+ maxTempCell . innerHTML = ` ${ dailyForecast . maxTemperature } ${ degreeLabel } ` ;
347347 maxTempCell . className = "bright max-temp" ;
348348 row . appendChild ( maxTempCell ) ;
349349
350350 const minTempCell = document . createElement ( "td" ) ;
351- minTempCell . innerHTML = dailyForecast . minTemperature + degreeLabel ;
351+ minTempCell . innerHTML = ` ${ dailyForecast . minTemperature } ${ degreeLabel } ` ;
352352 minTempCell . className = "min-temp" ;
353353 row . appendChild ( minTempCell ) ;
354354
@@ -456,7 +456,7 @@ Module.register("MMM-OneCallWeather", {
456456
457457 // Max temp cell
458458 const maxTempCell = document . createElement ( "td" ) ;
459- maxTempCell . innerHTML = dailyForecast . maxTemperature + degreeLabel ;
459+ maxTempCell . innerHTML = ` ${ dailyForecast . maxTemperature } ${ degreeLabel } ` ;
460460 maxTempCell . className = "bright max-temp" ;
461461 if ( this . config . colored ) {
462462 maxTempCell . className += " colored" ;
@@ -471,7 +471,7 @@ Module.register("MMM-OneCallWeather", {
471471 32
472472 ) . toFixed ( 0 ) } ${ degreeLabel } `;
473473 } else {
474- minTempCell . innerHTML = dailyForecast . minTemperature + degreeLabel ;
474+ minTempCell . innerHTML = ` ${ dailyForecast . minTemperature } ${ degreeLabel } ` ;
475475 }
476476 minTempCell . className = "min-temp" ;
477477 if ( this . config . colored ) {
0 commit comments