1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-30 15:58:14 +09:00

Accept image/webp and image/gif on thumbnail input

This commit is contained in:
ledlamp 2023-03-15 20:01:03 -07:00 committed by GitHub
parent f57bcb028b
commit 0e6a1eae29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}