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

Design admin data tables

This commit is contained in:
Chocobozzz 2017-12-08 14:34:17 +01:00
parent 04e0fc4888
commit cd83ea1b90
No known key found for this signature in database
GPG key ID: 583A612D890159BE
18 changed files with 216 additions and 89 deletions

View file

@ -13,6 +13,11 @@ function getParameterByName (name: string, url: string) {
return decodeURIComponent(results[2].replace(/\+/g, ' '))
}
function viewportHeight () {
return Math.max(document.documentElement.clientHeight, window.innerHeight || 0)
}
export {
viewportHeight,
getParameterByName
}