diff --git a/public/js/app/search.js b/public/js/app/search.js index de054a8..b0ee462 100644 --- a/public/js/app/search.js +++ b/public/js/app/search.js @@ -58,7 +58,7 @@ function sendAddToQueue(url, bitrate = null) { urls.forEach(url=>{ socket.emit('addToQueue', { url: url, bitrate: bitrate }) }) - }else{ + }else if(url != ""){ socket.emit('addToQueue', { url: url, bitrate: bitrate }) } }