Fix compatible browser class addition

pull/333/head
Chocobozzz 2018-03-08 12:04:10 +01:00
parent 73e09f2706
commit b3eeb529d9
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ export class AppComponent implements OnInit {
}
ngOnInit () {
document.getElementById('incompatible-browser').className += 'browser-ok'
document.getElementById('incompatible-browser').className += ' browser-ok'
const pathname = window.location.pathname
if (!pathname || pathname === '/') {