aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-user-subscription
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-07-02 15:10:06 +0200
committerChocobozzz <me@florianbigard.com>2020-07-02 15:10:06 +0200
commit35f0a5e665a565ffc9d4b88c5a12d45c88b0a090 (patch)
treecbcec5f21cfb21a1424f61cc4a60e9581f5acefa /client/src/app/shared/shared-user-subscription
parent1e904cde34ba41a16256da1073336dd652368592 (diff)
downloadPeerTube-35f0a5e665a565ffc9d4b88c5a12d45c88b0a090.tar.gz
PeerTube-35f0a5e665a565ffc9d4b88c5a12d45c88b0a090.tar.zst
PeerTube-35f0a5e665a565ffc9d4b88c5a12d45c88b0a090.zip
Fix player menu on mobile
Diffstat (limited to 'client/src/app/shared/shared-user-subscription')
-rw-r--r--client/src/app/shared/shared-user-subscription/remote-subscribe.component.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-user-subscription/remote-subscribe.component.ts b/client/src/app/shared/shared-user-subscription/remote-subscribe.component.ts
index 09164a5d3..286ecac02 100644
--- a/client/src/app/shared/shared-user-subscription/remote-subscribe.component.ts
+++ b/client/src/app/shared/shared-user-subscription/remote-subscribe.component.ts
@@ -39,8 +39,6 @@ export class RemoteSubscribeComponent extends FormReactive implements OnInit {
39 fetch(`https://${hostname}/.well-known/webfinger?resource=acct:${username}@${hostname}`) 39 fetch(`https://${hostname}/.well-known/webfinger?resource=acct:${username}@${hostname}`)
40 .then(response => response.json()) 40 .then(response => response.json())
41 .then(data => new Promise((resolve, reject) => { 41 .then(data => new Promise((resolve, reject) => {
42 console.log(data)
43
44 if (data && Array.isArray(data.links)) { 42 if (data && Array.isArray(data.links)) {
45 const link: { template: string } = data.links.find((link: any) => { 43 const link: { template: string } = data.links.find((link: any) => {
46 return link && typeof link.template === 'string' && link.rel === 'http://ostatus.org/schema/1.0/subscribe' 44 return link && typeof link.template === 'string' && link.rel === 'http://ostatus.org/schema/1.0/subscribe'