From fc10fa62e8288d9de04e488e69cf6777cc4ea3ef Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 21 Mar 2022 19:07:58 +0700 Subject: [PATCH] remove now redundant find playlist botton --- tubearchivist/home/templates/home/channel_id.html | 3 +-- tubearchivist/static/script.js | 13 ------------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/tubearchivist/home/templates/home/channel_id.html b/tubearchivist/home/templates/home/channel_id.html index 4754249..b372237 100644 --- a/tubearchivist/home/templates/home/channel_id.html +++ b/tubearchivist/home/templates/home/channel_id.html @@ -6,6 +6,7 @@
channel_banner
+
@@ -52,7 +53,6 @@

Total Videos archived: {{ max_hits }}

Watched:

{% endif %} -
@@ -94,7 +94,6 @@
{% endif %} -
Hide watched videos: diff --git a/tubearchivist/static/script.js b/tubearchivist/static/script.js index 6929026..3dbcb5f 100644 --- a/tubearchivist/static/script.js +++ b/tubearchivist/static/script.js @@ -269,19 +269,6 @@ function fsRescan() { toReplace.appendChild(message); } -function findPlaylists(button) { - var channel_id = button.getAttribute("data-id"); - var payload = JSON.stringify({'find-playlists': channel_id}); - sendPost(payload); - // clear button - var message = document.createElement('p'); - message.innerText = 'Scraping for playlists in progress'; - document.getElementById("find-playlists-button").replaceWith(message); - setTimeout(function(){ - checkMessages(); - }, 500); -} - function resetToken() { var payload = JSON.stringify({'reset-token': true}); sendPost(payload);