Fixing Typo

This commit is contained in:
Peter Schmalfeldt
2016-11-10 22:46:24 -05:00
parent 4575d6fc67
commit 9cad4ba99e

View File

@@ -48,7 +48,7 @@
if (data.response.error) {
showError(data.response.error.description);
} else {
buildForcast(zipcode, data.forecast.simpleforecast.forecastday);
buildForecast(zipcode, data.forecast.simpleforecast.forecastday);
}
}
});
@@ -59,7 +59,7 @@
* @param zipcode
* @param forecast
*/
function buildForcast (zipcode, forecast) {
function buildForecast (zipcode, forecast) {
for (var i = 0; i < forecast.length; i++) {
var date = '<div class="weather-date">' + forecast[i].date.monthname_short + ' ' + forecast[i].date.day + '</div>';
var image = weatherIcon(forecast[i].icon);