Added check for empty download selection
This commit is contained in:
parent
3339bf87bc
commit
b23aff9834
@ -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 })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user