diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/app.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts index b9f7be48c..0ea3c1389 100644 --- a/client/src/app/app.component.ts +++ b/client/src/app/app.component.ts | |||
@@ -87,7 +87,7 @@ export class AppComponent implements OnInit { | |||
87 | .subscribe(() => { | 87 | .subscribe(() => { |
88 | const config = this.serverService.getConfig() | 88 | const config = this.serverService.getConfig() |
89 | 89 | ||
90 | // We test customCSS in case or the admin removed the css | 90 | // We test customCSS if the admin removed the css |
91 | if (this.customCSS || config.instance.customizations.css) { | 91 | if (this.customCSS || config.instance.customizations.css) { |
92 | const styleTag = '<style>' + config.instance.customizations.css + '</style>' | 92 | const styleTag = '<style>' + config.instance.customizations.css + '</style>' |
93 | this.customCSS = this.domSanitizer.bypassSecurityTrustHtml(styleTag) | 93 | this.customCSS = this.domSanitizer.bypassSecurityTrustHtml(styleTag) |