fix
This commit is contained in:
parent
5de1662dc2
commit
440f4086d4
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ xhr.onload = function() {
|
||||||
};
|
};
|
||||||
|
|
||||||
xhr.onprogress = function(event) {
|
xhr.onprogress = function(event) {
|
||||||
|
// event.total=0 if the server did not send Content-Length header
|
||||||
alert(`Received ${event.loaded} of ${event.total}`);
|
alert(`Received ${event.loaded} of ${event.total}`);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue