diff options
author | Matthew Somerville <matthew@mysociety.org> | 2020-06-30 16:43:29 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-07-01 16:54:43 +0100 |
commit | e623594f10d74a8dfb5eaea801c43f4996b15a1e (patch) | |
tree | 01ad019b44f3354198731c783e34c30e58dfcdd0 /web | |
parent | 1909028b0956cbd0bf4ed17d8be942bd6f77e78c (diff) |
Include file extensions in Dropzone acceptedFiles.
In my Firefox on Windows, .jpeg files are not otherwise shown.
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/fixmystreet/fixmystreet.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js index cd98b233b..d79f17049 100644 --- a/web/cobrands/fixmystreet/fixmystreet.js +++ b/web/cobrands/fixmystreet/fixmystreet.js @@ -705,7 +705,7 @@ $.extend(fixmystreet.set_up, { resizeWidth: 2048, resizeHeight: 2048, resizeQuality: 0.6, - acceptedFiles: 'image/jpeg,image/pjpeg,image/gif,image/tiff,image/png', + acceptedFiles: 'image/jpeg,image/pjpeg,image/gif,image/tiff,image/png,.png,.tiff,.tif,.gif,.jpeg,.jpg', dictDefaultMessage: default_message, dictCancelUploadConfirmation: translation_strings.upload_cancel_confirmation, dictInvalidFileType: translation_strings.upload_invalid_file_type, |