main #19
@ -150,10 +150,10 @@ export default {
|
||||
this.skipToSecond(this.currentTrackParent.progress.progress);
|
||||
}
|
||||
this.currentTrackParent.progress = undefined;
|
||||
} else {
|
||||
// Try to fix SAFARI
|
||||
this.audio.play();
|
||||
}
|
||||
// Try to fix SAFARI
|
||||
this.audio.play();
|
||||
|
||||
},
|
||||
pushHistoryItem() {
|
||||
if (!this.currentUser._id) {
|
||||
|
@ -154,7 +154,7 @@ export default {
|
||||
this.$store.dispatch("artists/uploadNewCover", this.selectedArtist);
|
||||
},
|
||||
loadUserProgress() {
|
||||
if (!this.isPlaying || this.selectedTrack.parent.parent && this.selectedTrack.parent.parent._id != this.selectedArtist._id) {
|
||||
if (!this.isPlaying || !this.selectedTrack.parent.parent || this.selectedTrack.parent.parent._id != this.selectedArtist._id) {
|
||||
this.$store.dispatch("user/getProgress", this.selectedArtist).then(() => {
|
||||
this.gotoTrack();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user