Skip to content

Commit

Permalink
Fixed omission of zero-degree temperatures in list
Browse files Browse the repository at this point in the history
  • Loading branch information
martynasma committed Oct 27, 2016
1 parent ab05573 commit 617b1ff
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/js/app.weather.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,7 @@ AmWeather.prototype.__extendJquery = function() {
}

// TEMPERATUR SIGN
if (temp) {
if (!isNaN(temp)) {
temp = _this.getTemperatur(data.units, temp);
temp += "\u00B0";
} else {
Expand Down
Loading

0 comments on commit 617b1ff

Please sign in to comment.