fix: check if the selected track equal the track in the progress #17
@ -1,5 +1,5 @@
 | 
			
		||||
{
 | 
			
		||||
  "backend_dev": "http://localhost:31204",
 | 
			
		||||
  "backend_de": "https://webplay.rocks",
 | 
			
		||||
  "backend_de": "http://localhost:31204",
 | 
			
		||||
  "backend_dev": "https://webplay.rocks",
 | 
			
		||||
  "backend": "https://webplay.rocks"
 | 
			
		||||
}
 | 
			
		||||
@ -146,7 +146,9 @@ export default {
 | 
			
		||||
      this.pushHistoryItem();
 | 
			
		||||
 | 
			
		||||
      if (this.currentTrackParent.progress) {
 | 
			
		||||
        this.skipToSecond(this.currentTrackParent.progress.progress);
 | 
			
		||||
        if (this.currentTrackParent.progress.id == this.selectedTrack._id) {
 | 
			
		||||
          this.skipToSecond(this.currentTrackParent.progress.progress);
 | 
			
		||||
        }
 | 
			
		||||
        this.currentTrackParent.progress = undefined;
 | 
			
		||||
      } else {
 | 
			
		||||
        // Try to fix SAFARI
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user