1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 10:49:28 +02:00

Add initial video quota info in registration form

This commit is contained in:
Chocobozzz 2018-03-28 17:05:46 +02:00
parent e33e7fc89e
commit 5afdd0a52f
No known key found for this signature in database
GPG key ID: 583A612D890159BE
5 changed files with 93 additions and 27 deletions

View file

@ -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,