mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 12:12:20 +00:00
changed to double quotes
This commit is contained in:
parent
56413ee94e
commit
222e4154a1
@ -296,7 +296,7 @@ Module.register("currentweather",{
|
||||
*/
|
||||
processWeather: function(data) {
|
||||
|
||||
if (!data || !data.main || typeof data.main.temp === 'undefined') {
|
||||
if (!data || !data.main || typeof data.main.temp === "undefined") {
|
||||
// Did not receive usable new data.
|
||||
// Maybe this needs a better check?
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user