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

Remove useless async

This commit is contained in:
Chocobozzz 2021-08-25 16:14:11 +02:00
parent 851675c559
commit 98ab5dc810
No known key found for this signature in database
GPG key ID: 583A612D890159BE
35 changed files with 49 additions and 43 deletions

View file

@ -589,7 +589,7 @@ export class PeerTubeEmbed {
this.buildCSS()
await this.buildDock(videoInfo)
this.buildDock(videoInfo)
this.initializeApi()
@ -665,7 +665,7 @@ export class PeerTubeEmbed {
}
}
private async buildDock (videoInfo: VideoDetails) {
private buildDock (videoInfo: VideoDetails) {
if (!this.controls) return
// On webtorrent fallback, player may have been disposed