diff options
author | Chocobozzz <me@florianbigard.com> | 2019-12-18 16:38:39 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-12-18 16:47:54 +0100 |
commit | 2a5518a667ef219e560214cdecd03a45d96aa6b1 (patch) | |
tree | 881d71c1559128015b10e1a79d6fa6eccfe4781a /client | |
parent | 09033f7aa35c32b4d9acb6a92902e4a8f00d5201 (diff) | |
download | PeerTube-2a5518a667ef219e560214cdecd03a45d96aa6b1.tar.gz PeerTube-2a5518a667ef219e560214cdecd03a45d96aa6b1.tar.zst PeerTube-2a5518a667ef219e560214cdecd03a45d96aa6b1.zip |
Fix lint & tests
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.ts index 626d0ca07..835e9e34a 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts | |||
@@ -147,7 +147,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
147 | 147 | ||
148 | this.queryParamsSub = this.route.queryParams.subscribe(async queryParams => { | 148 | this.queryParamsSub = this.route.queryParams.subscribe(async queryParams => { |
149 | const videoId = queryParams[ 'videoId' ] | 149 | const videoId = queryParams[ 'videoId' ] |
150 | if (videoId) await this.loadVideo(videoId) | 150 | if (videoId) this.loadVideo(videoId) |
151 | 151 | ||
152 | const start = queryParams[ 'start' ] | 152 | const start = queryParams[ 'start' ] |
153 | if (this.player && start) this.player.currentTime(parseInt(start, 10)) | 153 | if (this.player && start) this.player.currentTime(parseInt(start, 10)) |