Fix compatible browser class addition
This commit is contained in:
parent
73e09f2706
commit
b3eeb529d9
|
@ -44,7 +44,7 @@ export class AppComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit () {
|
ngOnInit () {
|
||||||
document.getElementById('incompatible-browser').className += 'browser-ok'
|
document.getElementById('incompatible-browser').className += ' browser-ok'
|
||||||
|
|
||||||
const pathname = window.location.pathname
|
const pathname = window.location.pathname
|
||||||
if (!pathname || pathname === '/') {
|
if (!pathname || pathname === '/') {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user