From b23aff98347ae6e700951605654895d578062f79 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Sat, 18 Apr 2020 15:02:11 +0200 Subject: [PATCH] Added check for empty download selection --- public/js/app/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }) } }