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:
parent
e33e7fc89e
commit
5afdd0a52f
5 changed files with 93 additions and 27 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue