Fix file upload
This commit is contained in:
parent
86108e7af7
commit
07367bc6ec
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ class ComposeForm extends ImmutablePureComponent {
|
|||
disabled={isSubmitting}
|
||||
onChangeVisibility={onChangeVisibility}
|
||||
onToggleSpoiler={spoilersAlwaysOn ? null : onChangeSpoilerness}
|
||||
onPaste={onPaste}
|
||||
onUpload={onPaste}
|
||||
privacy={privacy}
|
||||
sensitive={sensitive || (spoilersAlwaysOn && spoilerText && spoilerText.length > 0)}
|
||||
spoiler={spoilersAlwaysOn ? (spoilerText && spoilerText.length > 0) : spoiler}
|
||||
|
|
Loading…
Reference in a new issue