forked from platypush/platypush
Merge branch 'master' into docs
This commit is contained in:
commit
1cbef67f2c
1 changed files with 3 additions and 4 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue