From 5afdd0a52f2f1fa79ed9bf241b5a525366658fa1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 28 Mar 2018 17:05:46 +0200 Subject: Add initial video quota info in registration form --- client/src/app/shared/misc/utils.ts | 5 ----- 1 file changed, 5 deletions(-) (limited to 'client/src/app/shared/misc/utils.ts') diff --git a/client/src/app/shared/misc/utils.ts b/client/src/app/shared/misc/utils.ts index d520b1a7b..99f6b3cf0 100644 --- a/client/src/app/shared/misc/utils.ts +++ b/client/src/app/shared/misc/utils.ts @@ -17,10 +17,6 @@ function getParameterByName (name: string, url: string) { return decodeURIComponent(results[2].replace(/\+/g, ' ')) } -function viewportHeight () { - return Math.max(document.documentElement.clientHeight, window.innerHeight || 0) -} - function populateAsyncUserVideoChannels (authService: AuthService, channel: any[]) { return new Promise(res => { authService.userInformationLoaded @@ -99,7 +95,6 @@ function isInMobileView () { } export { - viewportHeight, getParameterByName, populateAsyncUserVideoChannels, getAbsoluteAPIUrl, -- cgit v1.2.3