Fixed track ended switch
This commit is contained in:
parent
5e902234ef
commit
a816144a8c
@ -19,9 +19,9 @@ $(document).ready(function() {
|
||||
});
|
||||
|
||||
// on track end
|
||||
player.on('ended', function() {
|
||||
$(player).on('ended', function() {
|
||||
// find selected track
|
||||
changeSelectedTrack($('.music-track.selected').next());
|
||||
changeSelectedTrack($('.music-track.selected').next().get(0));
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user