diff --git a/js/views/file_input_view.js b/js/views/file_input_view.js index cc14d91a0..a383c468a 100644 --- a/js/views/file_input_view.js +++ b/js/views/file_input_view.js @@ -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'];