Added shutdown function for app and server

This commit is contained in:
RemixDev 2020-04-11 16:24:53 +02:00
parent c8a4c5217c
commit 2c9e5d05f7

View File

@ -53,6 +53,12 @@ socket.on("finishDownload", function(uuid){
$('#bar_' + uuid).css('width', '100%')
})
socket.on("removedAllDownloads", function(){
queue = []
queueList = {}
$("#download_list").html("")
})
socket.on("updateQueue", function(update){
if (update.uuid && queue.indexOf(update.uuid) > -1){
console.log(update)