aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-03-08 12:04:10 +0100
committerChocobozzz <me@florianbigard.com>2018-03-08 12:04:10 +0100
commitb3eeb529d92dd5eb5563f0e2bb9f08cda8407513 (patch)
treea8305b8c5dfe1a13b61fded1c4c7b0b59e022b6f /client/src/app/app.component.ts
parent73e09f270660c78e50e86921a5ca6b356f760c7c (diff)
downloadPeerTube-b3eeb529d92dd5eb5563f0e2bb9f08cda8407513.tar.gz
PeerTube-b3eeb529d92dd5eb5563f0e2bb9f08cda8407513.tar.zst
PeerTube-b3eeb529d92dd5eb5563f0e2bb9f08cda8407513.zip
Fix compatible browser class addition
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 5d8e8badf..84435b5db 100644
--- a/client/src/app/app.component.ts
+++ b/client/src/app/app.component.ts
@@ -44,7 +44,7 @@ export class AppComponent implements OnInit {
44 } 44 }
45 45
46 ngOnInit () { 46 ngOnInit () {
47 document.getElementById('incompatible-browser').className += 'browser-ok' 47 document.getElementById('incompatible-browser').className += ' browser-ok'
48 48
49 const pathname = window.location.pathname 49 const pathname = window.location.pathname
50 if (!pathname || pathname === '/') { 50 if (!pathname || pathname === '/') {