summaryrefslogtreecommitdiff
path: root/js/pomf.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/pomf.js')
-rw-r--r--js/pomf.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/pomf.js b/js/pomf.js
index 4c2f9fe..cf91e35 100644
--- a/js/pomf.js
+++ b/js/pomf.js
@@ -21,7 +21,6 @@
* SOFTWARE.
*/
-/* jshint browser:true, jquery:true */
$(function() {
var $uploadInput = $('#upload-input');
var $uploadBtn = $('#upload-btn');
@@ -30,7 +29,7 @@ $(function() {
var $btnContent = '';
var MAX_SIZE = (function(node) {
- var max = node.attr('data-max-size') || '120MiB';
+ var max = node.attr('data-max-size') || '10MiB';
var num = parseInt(/([0-9,]+).*/.exec(max)[1].replace(',', ''), 10);
var unit = /(?:([KMGTPEZY])(i)?B|([BKMGTPEZY]))/.exec(max) || ['B', '', ''];