TTLabs / EvaporateJS

Javascript library for browser to S3 multipart resumable uploads
1.82k stars 207 forks source link

Make maximum file size error message more human friendly #396

Closed yuriyromadin closed 6 years ago

yuriyromadin commented 6 years ago

While working on a file upload for our app, noticed that error message was not very user friendly, e.g. "File size too large. Maximum size allowed is 10485760".

This little adjustment fixes that and makes it human readable:

File size too large. Maximum size allowed is 10 MB

bikeath1337 commented 6 years ago

Thank you for your contribution!