]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Remove unused variable
authorChocobozzz <me@florianbigard.com>
Fri, 5 Oct 2018 09:20:08 +0000 (11:20 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 5 Oct 2018 09:20:08 +0000 (11:20 +0200)
client/src/app/videos/+video-watch/comment/video-comment-add.component.ts

index af47f3115b0e4f0d2ec21fab8a3d691d1c40b4a5..fb7de0e048f9af6a43bbd0d39633a95f7a3dfadf 100644 (file)
@@ -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()