diff options
author | Dessalines <tyhou13@gmx.com> | 2019-07-15 22:56:46 -0700 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-07-15 22:56:46 -0700 |
commit | 7ee486081e0ef099ba8e0b26b6001278b89a6482 (patch) | |
tree | 213a9c1e5e13269823a82861f073d7d78671f379 /ui/src/components/comment-form.tsx | |
parent | c6dacb485cd5f9c56e5afabb72876f357714a7ae (diff) |
Adding collapse comments
- Fixes #179
Diffstat (limited to 'ui/src/components/comment-form.tsx')
-rw-r--r-- | ui/src/components/comment-form.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/src/components/comment-form.tsx b/ui/src/components/comment-form.tsx index a69ae06f..5181e45e 100644 --- a/ui/src/components/comment-form.tsx +++ b/ui/src/components/comment-form.tsx @@ -84,6 +84,8 @@ export class CommentForm extends Component<CommentFormProps, CommentFormState> { if (i.props.node) { i.props.onReplyCancel(); } + + autosize.update(document.querySelector('textarea')); } handleCommentContentChange(i: CommentForm, event: any) { |