From 2123d5fdc47cf6e1986244dedfd121d18b65c36e Mon Sep 17 00:00:00 2001 From: HardiReady Date: Wed, 21 Feb 2018 19:37:30 +0100 Subject: [PATCH] remove general auto top scroll --- static/src/app/app.component.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/static/src/app/app.component.ts b/static/src/app/app.component.ts index 9df1f2f..7d4cd99 100644 --- a/static/src/app/app.component.ts +++ b/static/src/app/app.component.ts @@ -30,9 +30,6 @@ export class AppComponent { } if (event instanceof NavigationEnd) { this.loading = false; - if (router.url.includes(RouteConfig.overviewPath)) { - window.scrollTo({left: 0, top: 0, behavior: 'smooth'}); - } } }); }