Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Remove unused variable

Chocobozzz4232d092bbba
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 af47f3115b..fb7de0e048 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()