aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-03-21 10:20:47 +0100
committerChocobozzz <me@florianbigard.com>2018-03-21 10:20:47 +0100
commitc263f3b425354cb0114d8fc22b8c4a96c3865c0b (patch)
tree23b22015e697cd3197894e957232979dde0df298 /client/src/app/app.component.ts
parenta30ce9bf2391815dfc0107ea072b1d3116aec905 (diff)
downloadPeerTube-c263f3b425354cb0114d8fc22b8c4a96c3865c0b.tar.gz
PeerTube-c263f3b425354cb0114d8fc22b8c4a96c3865c0b.tar.zst
PeerTube-c263f3b425354cb0114d8fc22b8c4a96c3865c0b.zip
Update FAQ
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r--client/src/app/app.component.ts2
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)