mirror of
https://github.com/timvisee/send.git
synced 2026-04-24 22:44:34 -04:00
new ui
This commit is contained in:
@@ -16,7 +16,7 @@ class FileReceiver extends EventEmitter {
|
||||
const percentComplete = Math.floor(
|
||||
event.loaded / event.total * 100
|
||||
);
|
||||
this.emit('progress', percentComplete);
|
||||
this.emit('progress', [event.loaded, event.total]);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user