Fix list check
This commit is contained in:
@@ -58,7 +58,7 @@ function getOWMWeatherData( location, callback ) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !weather.list ) {
|
if ( !data.list ) {
|
||||||
callback(weather);
|
callback(weather);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user