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:
@@ -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'];
|
||||
|
Reference in New Issue
Block a user