diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-25 16:14:11 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-26 10:01:42 +0200 |
commit | 98ab5dc81048d47d08a231f17698128f959e59b2 (patch) | |
tree | 7f74f835dc35d9f72918c56857f7f28b70d7053f /client/src/standalone/videos/embed.ts | |
parent | 851675c5591dcab1070183f0ed1b1a788de07d2c (diff) | |
download | PeerTube-98ab5dc81048d47d08a231f17698128f959e59b2.tar.gz PeerTube-98ab5dc81048d47d08a231f17698128f959e59b2.tar.zst PeerTube-98ab5dc81048d47d08a231f17698128f959e59b2.zip |
Remove useless async
Diffstat (limited to 'client/src/standalone/videos/embed.ts')
-rw-r--r-- | client/src/standalone/videos/embed.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts index f35f4a23a..36480922e 100644 --- a/client/src/standalone/videos/embed.ts +++ b/client/src/standalone/videos/embed.ts | |||
@@ -589,7 +589,7 @@ export class PeerTubeEmbed { | |||
589 | 589 | ||
590 | this.buildCSS() | 590 | this.buildCSS() |
591 | 591 | ||
592 | await this.buildDock(videoInfo) | 592 | this.buildDock(videoInfo) |
593 | 593 | ||
594 | this.initializeApi() | 594 | this.initializeApi() |
595 | 595 | ||
@@ -665,7 +665,7 @@ export class PeerTubeEmbed { | |||
665 | } | 665 | } |
666 | } | 666 | } |
667 | 667 | ||
668 | private async buildDock (videoInfo: VideoDetails) { | 668 | private buildDock (videoInfo: VideoDetails) { |
669 | if (!this.controls) return | 669 | if (!this.controls) return |
670 | 670 | ||
671 | // On webtorrent fallback, player may have been disposed | 671 | // On webtorrent fallback, player may have been disposed |