From 79671021e2a6164effb0ec4e38ee89ea3c260069 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Sun, 15 Mar 2020 16:05:37 +0100 Subject: Fix video-ccomment-add cancellation --- .../src/app/videos/+video-watch/comment/video-comment-add.component.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'client/src/app/videos/+video-watch/comment/video-comment-add.component.ts') diff --git a/client/src/app/videos/+video-watch/comment/video-comment-add.component.ts b/client/src/app/videos/+video-watch/comment/video-comment-add.component.ts index a8c432653..5784efcdf 100644 --- a/client/src/app/videos/+video-watch/comment/video-comment-add.component.ts +++ b/client/src/app/videos/+video-watch/comment/video-comment-add.component.ts @@ -139,6 +139,7 @@ export class VideoCommentAddComponent extends FormReactive implements OnInit { cancelCommentReply () { this.cancel.emit(null) + this.form.value['text'] = this.textareaElement.nativeElement.value = '' } private addCommentReply (commentCreate: VideoCommentCreate) { -- cgit v1.2.3