mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fixed lint error
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user