1
0
Fork 0

Remove unused variable

This commit is contained in:
Chocobozzz 2018-10-05 11:20:08 +02:00
parent 6fbae8788f
commit 4232d092bb
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 0 additions and 3 deletions

View 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()