From a0d58375197867c85fea37631af08691cada8059 Mon Sep 17 00:00:00 2001 From: simon Date: Sun, 5 Dec 2021 17:24:20 +0700 Subject: [PATCH] use new checkMessages for frontend button calls --- tubearchivist/static/script.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tubearchivist/static/script.js b/tubearchivist/static/script.js index 5dc7e4b..844ed4b 100644 --- a/tubearchivist/static/script.js +++ b/tubearchivist/static/script.js @@ -91,7 +91,7 @@ function rescanPending() { animate('rescan-icon', 'rotate-img'); sendPost(payload); setTimeout(function(){ - handleInterval(); + checkMessages(); }, 500); } @@ -100,7 +100,7 @@ function dlPending() { animate('download-icon', 'bounce-img'); sendPost(payload); setTimeout(function(){ - handleInterval(); + checkMessages(); }, 500); } @@ -117,7 +117,7 @@ function downloadNow(button) { sendPost(payload); document.getElementById(youtube_id).remove(); setTimeout(function(){ - handleInterval(); + checkMessages(); }, 500); } @@ -134,7 +134,7 @@ function addSingle(button) { sendPost(payload); document.getElementById("dl-" + youtube_id).remove(); setTimeout(function(){ - handleInterval(); + checkMessages(); }, 500); }