aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-watch/comment/video-comment-add.component.ts
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-03-15 16:05:37 +0100
committerRigel Kent <sendmemail@rigelk.eu>2020-03-15 16:05:37 +0100
commit79671021e2a6164effb0ec4e38ee89ea3c260069 (patch)
tree6caf05cb6daf2bc4abd07602672fc30a41b83344 /client/src/app/videos/+video-watch/comment/video-comment-add.component.ts
parente61151b01c80e525db068ff12fcfe2c8ae04e1a4 (diff)
downloadPeerTube-79671021e2a6164effb0ec4e38ee89ea3c260069.tar.gz
PeerTube-79671021e2a6164effb0ec4e38ee89ea3c260069.tar.zst
PeerTube-79671021e2a6164effb0ec4e38ee89ea3c260069.zip
Fix video-ccomment-add cancellation
Diffstat (limited to 'client/src/app/videos/+video-watch/comment/video-comment-add.component.ts')
-rw-r--r--client/src/app/videos/+video-watch/comment/video-comment-add.component.ts1
1 files changed, 1 insertions, 0 deletions
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 {
139 139
140 cancelCommentReply () { 140 cancelCommentReply () {
141 this.cancel.emit(null) 141 this.cancel.emit(null)
142 this.form.value['text'] = this.textareaElement.nativeElement.value = ''
142 } 143 }
143 144
144 private addCommentReply (commentCreate: VideoCommentCreate) { 145 private addCommentReply (commentCreate: VideoCommentCreate) {