mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Test for song import
This commit is contained in:
@@ -50,6 +50,7 @@ socket.on(chan.toLowerCase()+",np", function(obj)
|
||||
if(obj[0].length == 0){
|
||||
console.log("Empty list");
|
||||
document.getElementById('song-title').innerHTML = "Empty channel. Add some songs!"
|
||||
importOldList(chan.toLowerCase());
|
||||
}
|
||||
else{
|
||||
console.log("gotten new song");
|
||||
|
||||
Reference in New Issue
Block a user