From 3b766e181c59ce148fde73e507276c9fbaf37eb1 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Tue, 4 Sep 2018 18:35:39 +0200 Subject: fixing grid readjustment with expand and screens < 1150px --- client/src/app/videos/+video-watch/video-watch.component.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'client/src/app/videos/+video-watch/video-watch.component.ts') 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 { return this.video && this.video.state.id === VideoState.TO_IMPORT } + isMenuExpanded () { + return document.getElementById('right-container').classList.contains('expanded') + } + hasVideoScheduledPublication () { return this.video && this.video.scheduledUpdate !== undefined } -- cgit v1.2.3