Fix progress
This commit is contained in:
@@ -64,7 +64,9 @@
|
|||||||
reject(new Error('Error downloading file'));
|
reject(new Error('Error downloading file'));
|
||||||
};
|
};
|
||||||
|
|
||||||
xhr.onload = (event) => {
|
xhr.onload = () => {
|
||||||
|
completed = 0;
|
||||||
|
totalSize = 0;
|
||||||
resolve(xhr.response);
|
resolve(xhr.response);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user