aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-10-05 11:20:08 +0200
committerChocobozzz <me@florianbigard.com>2018-10-05 11:20:08 +0200
commit4232d092bbba9a0bc0dfb0e82322829970c49454 (patch)
tree3dbf0e7868d3658cddccfc27881d7a72b83d53f8 /client/src/app/videos
parent6fbae8788f802e5339c8bf2ba0dfe4679ddff4f9 (diff)
downloadPeerTube-4232d092bbba9a0bc0dfb0e82322829970c49454.tar.gz
PeerTube-4232d092bbba9a0bc0dfb0e82322829970c49454.tar.zst
PeerTube-4232d092bbba9a0bc0dfb0e82322829970c49454.zip
Remove unused variable
Diffstat (limited to 'client/src/app/videos')
-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()