Fix progress

This commit is contained in:
ZXY101
2024-05-18 19:25:19 +02:00
parent bc7cb721d3
commit ec632b534b

View File

@@ -64,7 +64,9 @@
reject(new Error('Error downloading file'));
};
xhr.onload = (event) => {
xhr.onload = () => {
completed = 0;
totalSize = 0;
resolve(xhr.response);
};