diff --git a/src/components/Player.vue b/src/components/Player.vue index f21e7a6..6e17002 100644 --- a/src/components/Player.vue +++ b/src/components/Player.vue @@ -146,8 +146,6 @@ export default { this.audio.pause(); this.audio.src = url; - this.pushHistoryItem(); - if (this.currentTrackParent.progress) { if (this.currentTrackParent.progress.id == this.selectedTrack._id) { this.skipToSecond(this.currentTrackParent.progress.progress); @@ -297,6 +295,7 @@ export default { track: this.selectedTrack, rate: this.audioBpm, }); + this.pushHistoryItem(); } }, },