fix #26 - weather icon for code 39

yahoo_weather
simon04 13 years ago
parent 9b5572197f
commit 4681a05579
  1. 2
      src/extension.js

@ -293,8 +293,8 @@ WeatherMenuButton.prototype = {
case 37:/* isolated thunderstorms */ case 37:/* isolated thunderstorms */
return ['weather-storm']; return ['weather-storm'];
case 38:/* scattered thunderstorms */ case 38:/* scattered thunderstorms */
case 39:/* scattered thunderstorms */
return ['weather-storm']; return ['weather-storm'];
case 39:/* http://developer.yahoo.com/forum/YDN-Documentation/Yahoo-Weather-API-Wrong-Condition-Code/1290534174000-1122fc3d-da6d-34a2-9fb9-d0863e6c5bc6 */
case 40:/* scattered showers */ case 40:/* scattered showers */
return ['weather-showers-scattered', 'weather-showers']; return ['weather-showers-scattered', 'weather-showers'];
case 41:/* heavy snow */ case 41:/* heavy snow */

Loading…
Cancel
Save