use new checkMessages for frontend button calls

This commit is contained in:
simon 2021-12-05 17:24:20 +07:00
parent fbdbfd744d
commit a0d5837519
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 4 additions and 4 deletions

View File

@ -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);
}