Add 100MB file size limit for arbitrary file types (#1555)

Previously we only had limits for audio, video, and image files.

FREEBIE
This commit is contained in:
Scott Nonnenberg 2017-10-11 14:41:51 -07:00 committed by GitHub
parent e2d9d855fb
commit f95c65acac

View file

@ -146,6 +146,8 @@
limitKb = 100000; break;
case 'video':
limitKb = 100000; break;
default:
limitKb = 100000; break;
}
if ((blob.size/1024).toFixed(4) >= limitKb) {
var units = ['kB','MB','GB'];