Fix file size limitation

This commit is contained in:
Ken Powers 2019-07-09 16:50:22 -04:00 committed by Scott Nonnenberg
parent fa4b2d412f
commit fccf1eec30

View file

@ -380,7 +380,7 @@
limitKb = 100000;
break;
}
if ((blob.size / 1024).toFixed(4) >= limitKb) {
if ((blob.file.size / 1024).toFixed(4) >= limitKb) {
const units = ['kB', 'MB', 'GB'];
let u = -1;
let limit = limitKb * 1000;