MS Edge hacks

This commit is contained in:
Danny Coates 2018-03-12 12:24:09 -07:00
parent b840173429
commit da82ef814b
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
2 changed files with 6 additions and 1 deletions

View file

@ -78,10 +78,11 @@ export default class FileSender extends Nanobus {
this.keychain,
p => {
this.progress = p;
this.emit('progress', p);
this.emit('progress');
}
);
this.msg = 'fileSizeProgress';
this.emit('progress'); // HACK to kick MS Edge
try {
const result = await this.uploadRequest.result;
const time = Date.now() - start;