mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Merge pull request #212 from zoff-music/fix/deleted-empty
Fixed issue with deleting a song in a list with 2 elements, it thinks…
This commit is contained in:
@@ -479,7 +479,7 @@ var List = {
|
||||
Player.sendNext({title: full_playlist[0].title, videoId: full_playlist[0].id});
|
||||
}
|
||||
}
|
||||
if(full_playlist.length <= 2){
|
||||
if(full_playlist.length < 2){
|
||||
List.empty = true;
|
||||
$("#wrapper").html("<span id='empty-channel-message'>The playlist is empty.</span>");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user