mirror of https://github.com/Chocobozzz/PeerTube
Remove unused variable
parent
6fbae8788f
commit
4232d092bb
|
@ -32,7 +32,6 @@ export class VideoCommentAddComponent extends FormReactive implements OnInit {
|
||||||
@ViewChild('textarea') private textareaElement: ElementRef
|
@ViewChild('textarea') private textareaElement: ElementRef
|
||||||
|
|
||||||
private addingComment = false
|
private addingComment = false
|
||||||
private uri: string
|
|
||||||
|
|
||||||
constructor (
|
constructor (
|
||||||
protected formValidatorService: FormValidatorService,
|
protected formValidatorService: FormValidatorService,
|
||||||
|
@ -52,8 +51,6 @@ export class VideoCommentAddComponent extends FormReactive implements OnInit {
|
||||||
text: this.videoCommentValidatorsService.VIDEO_COMMENT_TEXT
|
text: this.videoCommentValidatorsService.VIDEO_COMMENT_TEXT
|
||||||
})
|
})
|
||||||
|
|
||||||
this.uri = this.router.url
|
|
||||||
|
|
||||||
if (this.user) {
|
if (this.user) {
|
||||||
if (this.focusOnInit === true) {
|
if (this.focusOnInit === true) {
|
||||||
this.textareaElement.nativeElement.focus()
|
this.textareaElement.nativeElement.focus()
|
||||||
|
|
Loading…
Reference in New Issue