diff options
author | Chocobozzz <me@florianbigard.com> | 2019-12-13 09:32:36 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-12-13 09:33:06 +0100 |
commit | 7c93905d14bf7d86d04dbbffc6e6a510c852f360 (patch) | |
tree | f476f9253e0998c29ef7ff65f28a77d7c07be37b /client/src/app/videos | |
parent | 94dfca3e35d10368fe424a48b0f78d9e0d04e724 (diff) | |
download | PeerTube-7c93905d14bf7d86d04dbbffc6e6a510c852f360.tar.gz PeerTube-7c93905d14bf7d86d04dbbffc6e6a510c852f360.tar.zst PeerTube-7c93905d14bf7d86d04dbbffc6e6a510c852f360.zip |
Fix theme loading
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.ts | 4 |
1 files changed, 2 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 8378e83b8..12b74a846 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts | |||
@@ -279,14 +279,14 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
279 | 279 | ||
280 | isAutoPlayEnabled () { | 280 | isAutoPlayEnabled () { |
281 | return ( | 281 | return ( |
282 | this.user && this.user.autoPlayNextVideo || | 282 | (this.user && this.user.autoPlayNextVideo) || |
283 | peertubeSessionStorage.getItem(RecommendedVideosComponent.SESSION_STORAGE_AUTO_PLAY_NEXT_VIDEO) === 'true' | 283 | peertubeSessionStorage.getItem(RecommendedVideosComponent.SESSION_STORAGE_AUTO_PLAY_NEXT_VIDEO) === 'true' |
284 | ) | 284 | ) |
285 | } | 285 | } |
286 | 286 | ||
287 | isPlaylistAutoPlayEnabled () { | 287 | isPlaylistAutoPlayEnabled () { |
288 | return ( | 288 | return ( |
289 | this.user && this.user.autoPlayNextVideoPlaylist || | 289 | (this.user && this.user.autoPlayNextVideoPlaylist) || |
290 | peertubeSessionStorage.getItem(VideoWatchPlaylistComponent.SESSION_STORAGE_AUTO_PLAY_NEXT_VIDEO_PLAYLIST) === 'true' | 290 | peertubeSessionStorage.getItem(VideoWatchPlaylistComponent.SESSION_STORAGE_AUTO_PLAY_NEXT_VIDEO_PLAYLIST) === 'true' |
291 | ) | 291 | ) |
292 | } | 292 | } |