aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r--client/src/app/app.component.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts
index a6eb4cd2e..b8b732169 100644
--- a/client/src/app/app.component.ts
+++ b/client/src/app/app.component.ts
@@ -45,6 +45,11 @@ export class AppComponent implements OnInit {
45 this.videoService.loadVideoCategories(); 45 this.videoService.loadVideoCategories();
46 this.videoService.loadVideoLicences(); 46 this.videoService.loadVideoLicences();
47 this.videoService.loadVideoLanguages(); 47 this.videoService.loadVideoLanguages();
48
49 // Do not display menu on small screens
50 if (window.innerWidth < 600) {
51 this.isMenuDisplayed = false;
52 }
48 } 53 }
49 54
50 isInAdmin() { 55 isInAdmin() {