From a86444089eeec4a4565e475d9a60830e9b0b24c0 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 21 Nov 2016 21:36:07 +0100 Subject: Client: fix https warning in make friends --- client/src/app/admin/friends/friend-add/friend-add.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src') 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 { } canMakeFriends() { - return window.location.protocol === 'https://'; + return window.location.protocol === 'https:'; } customTrackBy(index: number, obj: any): any { -- cgit v1.2.3