improve chat

This commit is contained in:
Peter Maquiran
2023-01-09 10:49:58 +01:00
parent 56c1733945
commit a73dde467c
21 changed files with 436 additions and 373 deletions
+5 -3
View File
@@ -102,7 +102,7 @@ export class HomePage implements OnInit {
window['inactivity/function'] = () => {
if (window.location.pathname != '/inactivity') {
if (window.location.pathname != '/inactivity' && window.location.pathname != '/') {
document.querySelectorAll('ion-modal').forEach((e: any) => e.remove());
document.querySelectorAll('.popover-viewport').forEach((e: any) => e.remove());
@@ -112,9 +112,11 @@ export class HomePage implements OnInit {
SessionStore.setUrlBeforeInactivity(pathname)
if (this.platform.is('mobileweb')) {
this.router.navigate(['/inactivity']);
// this.router.navigate(['/inactivity']);
window.location.pathname = '/inactivity'
} else {
this.router.navigate(['/']);
// this.router.navigate(['/']);
window.location.pathname = '/'
}
}