fixed issues in branch title
This commit is contained in:
parent
109fd671e0
commit
6231385c74
3 changed files with 30 additions and 1 deletions
|
@ -12,7 +12,7 @@ class FileReceiver extends EventEmitter {
|
|||
const xhr = new XMLHttpRequest();
|
||||
|
||||
xhr.onprogress = event => {
|
||||
if (event.lengthComputable) {
|
||||
if (event.lengthComputable && event.target.status !== 404) {
|
||||
const percentComplete = Math.floor(
|
||||
event.loaded / event.total * 100
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue