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

Improve video upload error handling

This commit is contained in:
Chocobozzz 2018-11-16 10:05:25 +01:00
parent fe05c3acbd
commit 7373507fa8
No known key found for this signature in database
GPG key ID: 583A612D890159BE
14 changed files with 82 additions and 18 deletions

View file

@ -124,6 +124,10 @@ function sortBy (obj: any[], key1: string, key2?: string) {
})
}
function scrollToTop () {
window.scroll(0, 0)
}
export {
sortBy,
durationToString,
@ -135,5 +139,6 @@ export {
immutableAssign,
objectToFormData,
lineFeedToHtml,
removeElementFromArray
removeElementFromArray,
scrollToTop
}