Merge branch 'master' into docs

This commit is contained in:
Fabio Manganiello 2018-06-25 00:49:51 +02:00
commit 1cbef67f2c

View file

@ -33,12 +33,11 @@ $(document).ready(function() {
}); });
if (currentIcon) { if (currentIcon) {
skycons.set('weather-icon', icon); skycons.remove('weather-icon');
} else {
skycons.add('weather-icon', icon);
skycons.play();
} }
skycons.add('weather-icon', icon);
skycons.play();
currentIcon = icon; currentIcon = icon;
}; };