Skip to content

Commit

Permalink
remove deprecated props
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Lasky committed Mar 1, 2016
1 parent d6d9dc7 commit d5e915b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/shared/js/request.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@

handleProgress: function(e) {
var detail = {
percent: e.totalSize/e.position,
total: e.totalSize,
current: e.position
percent: e.total || e.totalSize/e.loaded || e.position,
total: e.total || e.totalSize,
current: e.loaded || e.position
};
if (this.progress) {
this.progress(detail);
Expand Down

0 comments on commit d5e915b

Please sign in to comment.