|
|
|
|
@ -104,7 +104,7 @@ class ComposeForm extends ImmutablePureComponent {
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
canSubmit = () => { |
|
|
|
|
const { isSubmitting, isChangingUpload, isUploading, anyMedia } = this.props; |
|
|
|
|
const { isSubmitting, isChangingUpload, isUploading, anyMedia, maxChars } = this.props; |
|
|
|
|
const fulltext = this.getFulltextForCharacterCounting(); |
|
|
|
|
const isOnlyWhitespace = fulltext.length !== 0 && fulltext.trim().length === 0; |
|
|
|
|
|
|
|
|
|
|