aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r--client/src/app/app.component.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts
index f95103365..5d8e8badf 100644
--- a/client/src/app/app.component.ts
+++ b/client/src/app/app.component.ts
@@ -44,6 +44,8 @@ export class AppComponent implements OnInit {
44 } 44 }
45 45
46 ngOnInit () { 46 ngOnInit () {
47 document.getElementById('incompatible-browser').className += 'browser-ok'
48
47 const pathname = window.location.pathname 49 const pathname = window.location.pathname
48 if (!pathname || pathname === '/') { 50 if (!pathname || pathname === '/') {
49 this.redirectService.redirectToHomepage() 51 this.redirectService.redirectToHomepage()