diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-10-04 18:52:48 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2018-10-05 10:20:26 +0200 |
commit | 040a506bcf93ba6bfa100f9b3e8847ef65cfbeab (patch) | |
tree | 17610cdad645f7ab237cd97f651356e49d8bef1e /client/src/app/videos/+video-watch | |
parent | 29b323cdd7ba745d82839743b500885195827a4c (diff) | |
download | PeerTube-040a506bcf93ba6bfa100f9b3e8847ef65cfbeab.tar.gz PeerTube-040a506bcf93ba6bfa100f9b3e8847ef65cfbeab.tar.zst PeerTube-040a506bcf93ba6bfa100f9b3e8847ef65cfbeab.zip |
fix account URI in remote comment modal (cleanup)
Diffstat (limited to 'client/src/app/videos/+video-watch')
-rw-r--r-- | client/src/app/videos/+video-watch/comment/video-comment-add.component.html | 2 | ||||
-rw-r--r-- | client/src/app/videos/+video-watch/comment/video-comment-add.component.ts | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/client/src/app/videos/+video-watch/comment/video-comment-add.component.html b/client/src/app/videos/+video-watch/comment/video-comment-add.component.html index 30664f978..b58a56596 100644 --- a/client/src/app/videos/+video-watch/comment/video-comment-add.component.html +++ b/client/src/app/videos/+video-watch/comment/video-comment-add.component.html | |||
@@ -41,7 +41,7 @@ | |||
41 | <span i18n> | 41 | <span i18n> |
42 | If you have an account on Mastodon or Pleroma, you can open it directly in their interface: | 42 | If you have an account on Mastodon or Pleroma, you can open it directly in their interface: |
43 | </span> | 43 | </span> |
44 | <my-remote-subscribe [interact]="true" account="{{ getUrl() }}"></my-remote-subscribe> | 44 | <my-remote-subscribe [interact]="true" [account]="getUrl()"></my-remote-subscribe> |
45 | </div> | 45 | </div> |
46 | <div class="modal-footer inputs"> | 46 | <div class="modal-footer inputs"> |
47 | <span i18n class="action-button action-button-cancel" role="button" (click)="hideVisitorModal()"> | 47 | <span i18n class="action-button action-button-cancel" role="button" (click)="hideVisitorModal()"> |
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..b374ed7d5 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, |