diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-09-04 18:35:39 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2018-09-04 18:35:39 +0200 |
commit | 3b766e181c59ce148fde73e507276c9fbaf37eb1 (patch) | |
tree | 0c94b10fc35192897ebbb2f83f8dd04a42b9504a /client/src/app/videos/+video-watch/video-watch.component.ts | |
parent | 6aff854c0e56a11b61fa1130763c7c86e46a4c4d (diff) | |
download | PeerTube-3b766e181c59ce148fde73e507276c9fbaf37eb1.tar.gz PeerTube-3b766e181c59ce148fde73e507276c9fbaf37eb1.tar.zst PeerTube-3b766e181c59ce148fde73e507276c9fbaf37eb1.zip |
fixing grid readjustment with expand and screens < 1150px
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 | 4 |
1 files changed, 4 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 768a08d42..95198f0aa 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts | |||
@@ -317,6 +317,10 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
317 | return this.video && this.video.state.id === VideoState.TO_IMPORT | 317 | return this.video && this.video.state.id === VideoState.TO_IMPORT |
318 | } | 318 | } |
319 | 319 | ||
320 | isMenuExpanded () { | ||
321 | return document.getElementById('right-container').classList.contains('expanded') | ||
322 | } | ||
323 | |||
320 | hasVideoScheduledPublication () { | 324 | hasVideoScheduledPublication () { |
321 | return this.video && this.video.scheduledUpdate !== undefined | 325 | return this.video && this.video.scheduledUpdate !== undefined |
322 | } | 326 | } |