aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2018-10-04 18:52:48 +0200
committerRigel Kent <sendmemail@rigelk.eu>2018-10-05 10:20:26 +0200
commit040a506bcf93ba6bfa100f9b3e8847ef65cfbeab (patch)
tree17610cdad645f7ab237cd97f651356e49d8bef1e
parent29b323cdd7ba745d82839743b500885195827a4c (diff)
downloadPeerTube-040a506bcf93ba6bfa100f9b3e8847ef65cfbeab.tar.gz
PeerTube-040a506bcf93ba6bfa100f9b3e8847ef65cfbeab.tar.zst
PeerTube-040a506bcf93ba6bfa100f9b3e8847ef65cfbeab.zip
fix account URI in remote comment modal (cleanup)
-rw-r--r--client/src/app/videos/+video-watch/comment/video-comment-add.component.html2
-rw-r--r--client/src/app/videos/+video-watch/comment/video-comment-add.component.ts1
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,