mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
Merge branch '113524121-legal_doc_min_size' into staging
This commit is contained in:
commit
c238d176c8
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ $(document).on 'page:change', ->
|
|||
if (files = fileInput.files).length
|
||||
fileSize = files[0].size
|
||||
if fileSize < minSize
|
||||
alert 'Document size is less then 100kB bytes'
|
||||
alert 'Document size is less then 8kB bytes'
|
||||
return false
|
||||
else if fileSize > maxSize
|
||||
alert 'Document size is more then 8MB bytes'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue