diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-11-21 21:36:07 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-11-21 22:09:45 +0100 |
commit | a86444089eeec4a4565e475d9a60830e9b0b24c0 (patch) | |
tree | 7df726cf8afefe30ad6ebef56f0a0ad858c77261 /client/src | |
parent | 4dc54772272edf9fa6aeff0259f279dfc22afd19 (diff) | |
download | PeerTube-a86444089eeec4a4565e475d9a60830e9b0b24c0.tar.gz PeerTube-a86444089eeec4a4565e475d9a60830e9b0b24c0.tar.zst PeerTube-a86444089eeec4a4565e475d9a60830e9b0b24c0.zip |
Client: fix https warning in make friends
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/admin/friends/friend-add/friend-add.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/admin/friends/friend-add/friend-add.component.ts b/client/src/app/admin/friends/friend-add/friend-add.component.ts index 14f24c192..22b0241b4 100644 --- a/client/src/app/admin/friends/friend-add/friend-add.component.ts +++ b/client/src/app/admin/friends/friend-add/friend-add.component.ts | |||
@@ -28,7 +28,7 @@ export class FriendAddComponent implements OnInit { | |||
28 | } | 28 | } |
29 | 29 | ||
30 | canMakeFriends() { | 30 | canMakeFriends() { |
31 | return window.location.protocol === 'https://'; | 31 | return window.location.protocol === 'https:'; |
32 | } | 32 | } |
33 | 33 | ||
34 | customTrackBy(index: number, obj: any): any { | 34 | customTrackBy(index: number, obj: any): any { |