diff --git a/login/userMini.component.ts b/login/userMini.component.ts index 234b131f..7748d4fc 100644 --- a/login/userMini.component.ts +++ b/login/userMini.component.ts @@ -105,7 +105,7 @@ export class UserMiniComponent { } initialize(){ - if(!this.redirectUrl && location) { + if(!this.redirectUrl && typeof location !== 'undefined') { this.redirectUrl = location.pathname; } if(this.user){ diff --git a/sharedComponents/bottom.component.html b/sharedComponents/bottom.component.html index 56d9875c..a7add906 100644 --- a/sharedComponents/bottom.component.html +++ b/sharedComponents/bottom.component.html @@ -36,50 +36,6 @@ -
+