We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 825f2ff commit b387f16Copy full SHA for b387f16
fileshack/static/fileshack/js/models.js
@@ -146,7 +146,7 @@ var Item = new Class({
146
this.xhr.upload.addEventListener('progress', function(e) {
147
if (!this_.size_total) this_.set('size_total', e.total);
148
if (!len) len = this_.size_total;
149
- this_.set('size', offset + e.position/e.total*len);
+ this_.set('size', offset + e.loaded/e.total*len);
150
}, false);
151
152
this.xhr.upload.addEventListener('load', function(e) {
0 commit comments