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.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts
index 6b18e5feb..1724bbd1a 100644
--- a/client/src/app/app.component.ts
+++ b/client/src/app/app.component.ts
@@ -71,6 +71,9 @@ export class AppComponent implements OnInit {
71 ngOnInit () { 71 ngOnInit () {
72 document.getElementById('incompatible-browser').className += ' browser-ok' 72 document.getElementById('incompatible-browser').className += ' browser-ok'
73 73
74 this.loadPlugins()
75 this.themeService.initialize()
76
74 this.authService.loadClientCredentials() 77 this.authService.loadClientCredentials()
75 78
76 if (this.isUserLoggedIn()) { 79 if (this.isUserLoggedIn()) {
@@ -86,9 +89,6 @@ export class AppComponent implements OnInit {
86 this.serverService.loadVideoPrivacies() 89 this.serverService.loadVideoPrivacies()
87 this.serverService.loadVideoPlaylistPrivacies() 90 this.serverService.loadVideoPlaylistPrivacies()
88 91
89 this.loadPlugins()
90 this.themeService.initialize()
91
92 // Do not display menu on small screens 92 // Do not display menu on small screens
93 if (this.screenService.isInSmallView()) { 93 if (this.screenService.isInSmallView()) {
94 this.isMenuDisplayed = false 94 this.isMenuDisplayed = false