mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
update
This commit is contained in:
parent
b1048c7827
commit
9c94150b6b
1 changed files with 2 additions and 2 deletions
|
@ -2399,7 +2399,6 @@ function downloadURL(url, filename) {
|
|||
var contentLength = 0;
|
||||
fetch(url)
|
||||
.then(response => {
|
||||
downloadModal.hidePleaseWait();
|
||||
avideoToastSuccess('Download Start');
|
||||
const contentEncoding = response.headers.get('content-encoding');
|
||||
const contentLength = response.headers.get(contentEncoding ? 'x-file-size' : 'content-length');
|
||||
|
@ -2499,8 +2498,9 @@ function downloadURLOrAlertError(jsonURL, data, filename, FFMpegProgress) {
|
|||
} else {
|
||||
console.log('downloadURLOrAlertError 4', response);
|
||||
avideoResponse(response);
|
||||
downloadURLOrAlertModal.hidePleaseWait();
|
||||
}
|
||||
|
||||
downloadURLOrAlertModal.hidePleaseWait();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue