Fixed lint error

This commit is contained in:
Poslovitch 2021-04-24 14:01:36 +00:00 committed by Chocobozzz
parent dfdcbb948a
commit 5bb2ed6b81

View File

@ -848,8 +848,10 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
} }
// Only set this if we're in a playlist // Only set this if we're in a playlist
if (this.playlist) options.common.previousVideo = () => { if (this.playlist) {
this.zone.run(() => this.videoWatchPlaylist.navigateToPreviousPlaylistVideo()) options.common.previousVideo = () => {
this.zone.run(() => this.videoWatchPlaylist.navigateToPreviousPlaylistVideo())
}
} }
let mode: PlayerMode let mode: PlayerMode