mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-07-29 15:29:14 +02:00
this
This commit is contained in:
+1
-4
@@ -397,10 +397,7 @@
|
||||
});
|
||||
|
||||
function sendAddToToplay(songs){
|
||||
if(ws && ws.readyState === WebSocket.OPEN){
|
||||
ws.send(JSON.stringify({action:"add_to_toplay", songs: songs}));
|
||||
setTimeout(() => ws.send(JSON.stringify({action:"get_toplay"})), 250);
|
||||
}
|
||||
if(ws && ws.readyState === WebSocket.OPEN) ws.send(JSON.stringify({action:"add_to_toplay", songs: songs}))
|
||||
}
|
||||
|
||||
connectWs();
|
||||
|
||||
Reference in New Issue
Block a user