removed id from favorites refresh toast
This commit is contained in:
parent
7484bf75cf
commit
e429b9e978
File diff suppressed because one or more lines are too long
@ -61,13 +61,15 @@ const FavoritesTab = new Vue({
|
||||
this.artists = artists
|
||||
this.playlists = playlists
|
||||
|
||||
console.log('update ok')
|
||||
|
||||
// Removing animation class only when the animation has completed an iteration
|
||||
// Prevents animation ugly stutter
|
||||
this.$refs.reloadButton.addEventListener(
|
||||
'animationiteration',
|
||||
() => {
|
||||
this.$refs.reloadButton.classList.remove('spin')
|
||||
toast('Refresh completed!', 'done', true, 'favorites-refresh-toast')
|
||||
toast('Refresh completed!', 'done', true)
|
||||
},
|
||||
{ once: true }
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user