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:
parent
851675c559
commit
98ab5dc810
35 changed files with 49 additions and 43 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue