diff --git a/js/ctrls/main.js b/js/ctrls/main.js index d8c07a4..30eae73 100755 --- a/js/ctrls/main.js +++ b/js/ctrls/main.js @@ -451,8 +451,8 @@ function( } else if (ctx.verifyIntegrityPending !== d.verifyIntegrityPending) { ctx.verifyIntegrityPending = d.verifyIntegrityPending; } - if (ctx.uploadLength !== d.uploadength) { - ctx.uploadLength = d.uploadlength; + if (ctx.uploadLength !== d.uploadLength) { + ctx.uploadLength = d.uploadLength; ctx.fmtUploadLength = utils.fmtsize(d.uploadLength); } if (ctx.pieceLength !== d.pieceLength) { @@ -627,4 +627,4 @@ function( rpc.once('changePosition', [d.gid, -1, 'POS_CUR']); }; -}]); \ No newline at end of file +}]);