Merge branch 'master' into docs

This commit is contained in:
Fabio Manganiello 2018-06-25 00:49:51 +02:00
commit 1cbef67f2c
1 changed files with 3 additions and 4 deletions

View File

@ -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;
};