mirror of https://github.com/LemmyNet/lemmy.git
Fix issue with preview mode not resizing comment-form.
parent
0637ccc1bc
commit
4fbf55d79e
|
@ -220,6 +220,7 @@ export class CommentForm extends Component<CommentFormProps, CommentFormState> {
|
|||
this.state.previewMode = false;
|
||||
this.state.loading = false;
|
||||
this.state.commentForm.content = '';
|
||||
this.setState(this.state);
|
||||
let form: any = document.getElementById(this.formId);
|
||||
form.reset();
|
||||
if (this.props.node) {
|
||||
|
|
Loading…
Reference in New Issue