Implemented changes to work with lib 1.0.23
This commit is contained in:
parent
d55cc8ce84
commit
5314f7c07e
File diff suppressed because one or more lines are too long
@ -98,12 +98,7 @@ function handleDrag(event) {
|
||||
}
|
||||
|
||||
function sendAddToQueue(url, bitrate = null) {
|
||||
if (url.indexOf(';') !== -1) {
|
||||
let urls = url.split(';')
|
||||
urls.forEach(url => {
|
||||
socket.emit('addToQueue', { url: url, bitrate: bitrate })
|
||||
})
|
||||
} else if (url != '') {
|
||||
if (url != '') {
|
||||
socket.emit('addToQueue', { url: url, bitrate: bitrate })
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user