Browse Source

Favor server-size upload validation

pjc 5 years ago
parent
commit
761a29454d
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      static/functions/validate_upload.js

+ 2
- 0
static/functions/validate_upload.js View File

1
 $(() => {
1
 $(() => {
2
+  /*
2
   $("#post").click(e => {
3
   $("#post").click(e => {
3
     let hard_error = m => {
4
     let hard_error = m => {
4
       if (e.isDefaultPrevented()) return
5
       if (e.isDefaultPrevented()) return
34
     }
35
     }
35
   })
36
   })
36
   $('#tags').on('blur', e => $('#tags').raw().value = $('#tags').raw().value.split(',').map(t=>t.trim()).filter(t=>t).join(', '))
37
   $('#tags').on('blur', e => $('#tags').raw().value = $('#tags').raw().value.split(',').map(t=>t.trim()).filter(t=>t).join(', '))
38
+  */
37
 })
39
 })

Loading…
Cancel
Save