Merge pull request #18 from senaduka/add_low_temperature
Lower temperature forecast
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
var options = {
|
||||
|
||||
|
||||
location: 44.0123 + ',' + 18.19455, // New Visoko
|
||||
unit: 'c',
|
||||
success: function(weather) {
|
||||
@@ -14,9 +14,8 @@ var options = {
|
||||
html += '<div>';
|
||||
html += "<h2><i class='sw icon-" + forecast.code + "'></i>";
|
||||
html += forecast.high + '°' + weather.units.temp + '</h2>';
|
||||
html += "<li class='currently'>" + daysInBosnian[forecast.day] + ': ' + forecast.text + '</li>';
|
||||
html += "<li class='currently'> Najniža dnevna: "+ forecast.low + ' ° ' + weather.units.temp + "<br />" + daysInBosnian[forecast.day] + ': ' + forecast.text + '</li>';
|
||||
html += "</div>";
|
||||
|
||||
}
|
||||
|
||||
$('#weather').html(html);
|
||||
|
||||
Reference in New Issue
Block a user