mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 13:09:16 +02:00
Fixed #151: queue reorder or track deletion restarting currently playing track
This commit is contained in:
parent
48c9a8bd55
commit
6ed6634f93
6 changed files with 15 additions and 9 deletions
|
@ -86,9 +86,15 @@ export default {
|
|||
}
|
||||
},
|
||||
updateDuration: function (e) {
|
||||
if (!this.$refs.audio) {
|
||||
return
|
||||
}
|
||||
this.$store.commit('player/duration', this.$refs.audio.duration)
|
||||
},
|
||||
loaded: function () {
|
||||
if (!this.$refs.audio) {
|
||||
return
|
||||
}
|
||||
this.$refs.audio.volume = this.volume
|
||||
this.$store.commit('player/resetErrorCount')
|
||||
if (this.isCurrent) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue