Update article.md

This commit is contained in:
Ilya Kantor 2019-10-17 10:55:42 +03:00 committed by GitHub
parent bb974189a1
commit 23e9175566
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,7 +57,7 @@ To resume upload, we need to know *exactly* the number of bytes received by the
xhr.setRequestHeader('X-Start-Byte', startByte);
xhr.upload.onprogress = (e) => {
console.log(`Отправлено ${startByte + e.loaded} из ${startByte + e.total}`);
console.log(`Uploaded ${startByte + e.loaded} of ${startByte + e.total}`);
};
// file can be from input.files[0] or another source