Fixed upload progress

This commit is contained in:
Tobias Reich 2014-08-31 23:35:38 +02:00
parent 066d3be697
commit 7933ccee7d
2 changed files with 2 additions and 2 deletions

View File

@ -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