mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 17:35:40 +01:00
Accept image/webp and image/gif on thumbnail input
This commit is contained in:
parent
f57bcb028b
commit
0e6a1eae29
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ class FocalPointModal extends ImmutablePureComponent {
|
||||||
id='upload-modal__thumbnail'
|
id='upload-modal__thumbnail'
|
||||||
ref={this.setFileInputRef}
|
ref={this.setFileInputRef}
|
||||||
type='file'
|
type='file'
|
||||||
accept='image/png,image/jpeg'
|
accept='image/png,image/jpeg,image/webp,image/gif'
|
||||||
onChange={this.handleThumbnailChange}
|
onChange={this.handleThumbnailChange}
|
||||||
style={{ display: 'none' }}
|
style={{ display: 'none' }}
|
||||||
disabled={isUploadingThumbnail || is_changing_upload}
|
disabled={isUploadingThumbnail || is_changing_upload}
|
||||||
|
|
Loading…
Reference in a new issue