From 0e6a1eae29dabb2dd70f44f9d815e07396bc4a19 Mon Sep 17 00:00:00 2001 From: ledlamp Date: Wed, 15 Mar 2023 20:01:03 -0700 Subject: [PATCH] Accept image/webp and image/gif on thumbnail input --- .../mastodon/features/ui/components/focal_point_modal.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/mastodon/features/ui/components/focal_point_modal.jsx b/app/javascript/mastodon/features/ui/components/focal_point_modal.jsx index 6e8d017eeed..6bf4add1a31 100644 --- a/app/javascript/mastodon/features/ui/components/focal_point_modal.jsx +++ b/app/javascript/mastodon/features/ui/components/focal_point_modal.jsx @@ -330,7 +330,7 @@ class FocalPointModal extends ImmutablePureComponent { id='upload-modal__thumbnail' ref={this.setFileInputRef} type='file' - accept='image/png,image/jpeg' + accept='image/png,image/jpeg,image/webp,image/gif' onChange={this.handleThumbnailChange} style={{ display: 'none' }} disabled={isUploadingThumbnail || is_changing_upload}