Skip to content

Commit 0b61edc

Browse files
small bug
1 parent 8fb6a93 commit 0b61edc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gapless5.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1393,7 +1393,7 @@ function Gapless5(options = {}, deprecated = {}) { // eslint-disable-line no-unu
13931393
this.uiDirty = true;
13941394

13951395
// If we were playing and there are tracks remaining, play the next available track
1396-
if (wasPlaying && this.playlist.numTracks() > 0) {
1396+
if (wasPlayingCurrentTrack && this.playlist.numTracks() > 0) {
13971397
this.play();
13981398
}
13991399
};

0 commit comments

Comments
 (0)