mirror of
https://gitlab.com/RemixDev/deemix-webui.git
synced 2025-01-20 05:18:32 +00:00
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) {
|
function sendAddToQueue(url, bitrate = null) {
|
||||||
if (url.indexOf(';') !== -1) {
|
if (url != '') {
|
||||||
let urls = url.split(';')
|
|
||||||
urls.forEach(url => {
|
|
||||||
socket.emit('addToQueue', { url: url, bitrate: bitrate })
|
|
||||||
})
|
|
||||||
} else if (url != '') {
|
|
||||||
socket.emit('addToQueue', { url: url, bitrate: bitrate })
|
socket.emit('addToQueue', { url: url, bitrate: bitrate })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue