aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/videos/+video-watch/comment/video-comment-add.component.ts3
1 files changed, 0 insertions, 3 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 af47f3115..fb7de0e04 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
@@ -32,7 +32,6 @@ export class VideoCommentAddComponent extends FormReactive implements OnInit {
32 @ViewChild('textarea') private textareaElement: ElementRef 32 @ViewChild('textarea') private textareaElement: ElementRef
33 33
34 private addingComment = false 34 private addingComment = false
35 private uri: string
36 35
37 constructor ( 36 constructor (
38 protected formValidatorService: FormValidatorService, 37 protected formValidatorService: FormValidatorService,
@@ -52,8 +51,6 @@ export class VideoCommentAddComponent extends FormReactive implements OnInit {
52 text: this.videoCommentValidatorsService.VIDEO_COMMENT_TEXT 51 text: this.videoCommentValidatorsService.VIDEO_COMMENT_TEXT
53 }) 52 })
54 53
55 this.uri = this.router.url
56
57 if (this.user) { 54 if (this.user) {
58 if (this.focusOnInit === true) { 55 if (this.focusOnInit === true) {
59 this.textareaElement.nativeElement.focus() 56 this.textareaElement.nativeElement.focus()