diff --git a/tubearchivist/home/templates/home/downloads.html b/tubearchivist/home/templates/home/downloads.html index 23dd98a..3ca469e 100644 --- a/tubearchivist/home/templates/home/downloads.html +++ b/tubearchivist/home/templates/home/downloads.html @@ -45,15 +45,6 @@ -
Delete your pending or previously ignored videos from your download queue.
+ + +
Add files to the cache/import folder. Make sure to follow the instructions in the Github Wiki.
diff --git a/tubearchivist/static/script.js b/tubearchivist/static/script.js index 96ad261..47ef727 100644 --- a/tubearchivist/static/script.js +++ b/tubearchivist/static/script.js @@ -203,10 +203,10 @@ function deleteQueue(button) { var to_delete = button.getAttribute('data-id'); var payload = JSON.stringify({'deleteQueue': to_delete}); sendPost(payload); - setTimeout(function(){ - location.reload(); - return false; - }, 1000); + // clear button + var message = document.createElement('p'); + message.innerText = 'deleting download queue: ' + to_delete; + document.getElementById(button.id).replaceWith(message); } function stopQueue() {