aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorPoslovitch <poslovitch@bentobox.world>2021-04-24 14:01:36 +0000
committerChocobozzz <chocobozzz@cpy.re>2021-04-26 10:54:02 +0200
commit5bb2ed6b81cb49fac8737e1f1aa5e26e620e9c87 (patch)
treee67164d4f49971545f4260b0c9ab3a83a75114aa /client
parentdfdcbb948aa2440efc2425569dce947c9cb00378 (diff)
downloadPeerTube-5bb2ed6b81cb49fac8737e1f1aa5e26e620e9c87.tar.gz
PeerTube-5bb2ed6b81cb49fac8737e1f1aa5e26e620e9c87.tar.zst
PeerTube-5bb2ed6b81cb49fac8737e1f1aa5e26e620e9c87.zip
Fixed lint error
Diffstat (limited to 'client')
-rw-r--r--client/src/app/+videos/+video-watch/video-watch.component.ts6
1 files changed, 4 insertions, 2 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 025c62430..5530dc8ad 100644
--- a/client/src/app/+videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/+videos/+video-watch/video-watch.component.ts
@@ -848,8 +848,10 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
848 } 848 }
849 849
850 // Only set this if we're in a playlist 850 // Only set this if we're in a playlist
851 if (this.playlist) options.common.previousVideo = () => { 851 if (this.playlist) {
852 this.zone.run(() => this.videoWatchPlaylist.navigateToPreviousPlaylistVideo()) 852 options.common.previousVideo = () => {
853 this.zone.run(() => this.videoWatchPlaylist.navigateToPreviousPlaylistVideo())
854 }
853 } 855 }
854 856
855 let mode: PlayerMode 857 let mode: PlayerMode