file-upload.js 279 B

123456789101112
  1. $('.dropify').dropify({
  2. messages: {
  3. 'default': 'Drag and drop a file here or click',
  4. 'replace': 'Drag and drop or click to replace',
  5. 'remove': 'Remove',
  6. 'error': 'Ooops, something wrong appended.'
  7. },
  8. error: {
  9. 'fileSize': 'The file size is too big (2M max).'
  10. }
  11. });