Added check for empty download selection

This commit is contained in:
RemixDev 2020-04-18 15:02:11 +02:00
parent 3339bf87bc
commit b23aff9834

View File

@ -58,7 +58,7 @@ function sendAddToQueue(url, bitrate = null) {
urls.forEach(url=>{ urls.forEach(url=>{
socket.emit('addToQueue', { url: url, bitrate: bitrate }) socket.emit('addToQueue', { url: url, bitrate: bitrate })
}) })
}else{ }else if(url != ""){
socket.emit('addToQueue', { url: url, bitrate: bitrate }) socket.emit('addToQueue', { url: url, bitrate: bitrate })
} }
} }