Added ° sign

yahoo_weather
Timur Kristóf 14 years ago committed by simon04
parent 2e1508b477
commit 3f1bb44fde
  1. 2
      weather@venemo.net/extension.js

@ -207,7 +207,7 @@ WeatherMenuButton.prototype = {
let location = weather.get_object_member('location').get_string_member('city');
let comment = weather.get_object_member('condition').get_string_member('text');
let temperature = weather.get_object_member('condition').get_double_member('temperature');
let temperature_unit = weather.get_object_member('units').get_string_member('temperature');
let temperature_unit = '\u00b0' + weather.get_object_member('units').get_string_member('temperature');
let humidity = weather.get_object_member('atmosphere').get_string_member('humidity') + ' %';
let pressure = weather.get_object_member('atmosphere').get_double_member('pressure');
pressure_unit = weather.get_object_member('units').get_string_member('pressure');

Loading…
Cancel
Save