From 4232d092bbba9a0bc0dfb0e82322829970c49454 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 5 Oct 2018 11:20:08 +0200 Subject: [PATCH] Remove unused variable --- .../videos/+video-watch/comment/video-comment-add.component.ts | 3 --- 1 file changed, 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 { @ViewChild('textarea') private textareaElement: ElementRef private addingComment = false - private uri: string constructor ( protected formValidatorService: FormValidatorService, @@ -52,8 +51,6 @@ export class VideoCommentAddComponent extends FormReactive implements OnInit { text: this.videoCommentValidatorsService.VIDEO_COMMENT_TEXT }) - this.uri = this.router.url - if (this.user) { if (this.focusOnInit === true) { this.textareaElement.nativeElement.focus() -- 2.41.0