Fixed upload progress
This commit is contained in:
parent
066d3be697
commit
7933ccee7d
@ -158,7 +158,7 @@ upload = {
|
||||
if (e.lengthComputable) {
|
||||
|
||||
// Calculate progress
|
||||
progress = (e.loaded / e.total * 100) || 0;
|
||||
progress = (e.loaded / e.total * 100 | 0);
|
||||
|
||||
// Set progress when progress has changed
|
||||
if (progress>pre_progress) {
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user