diff options
author | Chocobozzz <me@florianbigard.com> | 2018-03-21 10:20:47 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-03-21 10:20:47 +0100 |
commit | c263f3b425354cb0114d8fc22b8c4a96c3865c0b (patch) | |
tree | 23b22015e697cd3197894e957232979dde0df298 /client/src | |
parent | a30ce9bf2391815dfc0107ea072b1d3116aec905 (diff) | |
download | PeerTube-c263f3b425354cb0114d8fc22b8c4a96c3865c0b.tar.gz PeerTube-c263f3b425354cb0114d8fc22b8c4a96c3865c0b.tar.zst PeerTube-c263f3b425354cb0114d8fc22b8c4a96c3865c0b.zip |
Update FAQ
Diffstat (limited to 'client/src')
-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) |