diff --git a/platypush/backend/http/static/js/widgets/date-time-weather.js b/platypush/backend/http/static/js/widgets/date-time-weather.js index 262274eb8f..bc6abc6357 100644 --- a/platypush/backend/http/static/js/widgets/date-time-weather.js +++ b/platypush/backend/http/static/js/widgets/date-time-weather.js @@ -33,12 +33,11 @@ $(document).ready(function() { }); if (currentIcon) { - skycons.set('weather-icon', icon); - } else { - skycons.add('weather-icon', icon); - skycons.play(); + skycons.remove('weather-icon'); } + skycons.add('weather-icon', icon); + skycons.play(); currentIcon = icon; };