mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-12-23 02:10:15 +00:00
use new checkMessages for frontend button calls
This commit is contained in:
parent
fbdbfd744d
commit
a0d5837519
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user