diff options
Diffstat (limited to 'client/src/app/+videos/+video-watch/video-watch.component.ts')
-rw-r--r-- | client/src/app/+videos/+video-watch/video-watch.component.ts | 5 |
1 files changed, 5 insertions, 0 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 075f70f56..9656f08e9 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.ts +++ b/client/src/app/+videos/+video-watch/video-watch.component.ts | |||
@@ -398,6 +398,11 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
398 | this.loadVideo(videoId) | 398 | this.loadVideo(videoId) |
399 | } | 399 | } |
400 | 400 | ||
401 | displayOtherVideosAsRow () { | ||
402 | // Use the same value as in the SASS file | ||
403 | return this.screenService.getWindowInnerWidth() <= 1100 | ||
404 | } | ||
405 | |||
401 | private loadVideo (videoId: string) { | 406 | private loadVideo (videoId: string) { |
402 | // Video did not change | 407 | // Video did not change |
403 | if (this.video && this.video.uuid === videoId) return | 408 | if (this.video && this.video.uuid === videoId) return |