mirror of https://github.com/Chocobozzz/PeerTube
Fixed lint error
parent
dfdcbb948a
commit
5bb2ed6b81
|
@ -848,8 +848,10 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
|
|||
}
|
||||
|
||||
// Only set this if we're in a playlist
|
||||
if (this.playlist) options.common.previousVideo = () => {
|
||||
this.zone.run(() => this.videoWatchPlaylist.navigateToPreviousPlaylistVideo())
|
||||
if (this.playlist) {
|
||||
options.common.previousVideo = () => {
|
||||
this.zone.run(() => this.videoWatchPlaylist.navigateToPreviousPlaylistVideo())
|
||||
}
|
||||
}
|
||||
|
||||
let mode: PlayerMode
|
||||
|
|
Loading…
Reference in New Issue