From 07a982363fcc6f838dd3f5c2039a2affaea3b0b2 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 8 Jan 2019 15:06:58 +0100 Subject: [PATCH] Correctly scroll in notification preferences --- .../my-account-notifications.component.html | 2 +- .../my-account-settings/my-account-settings.component.html | 6 ++---- client/src/app/app-routing.module.ts | 3 ++- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html b/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html index d2810c343..b98a1087e 100644 --- a/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html +++ b/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html @@ -1,5 +1,5 @@
- Notification preferences + Notification preferences
diff --git a/client/src/app/+my-account/my-account-settings/my-account-settings.component.html b/client/src/app/+my-account/my-account-settings/my-account-settings.component.html index 2eb7dd56e..ad64f28fe 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-settings.component.html +++ b/client/src/app/+my-account/my-account-settings/my-account-settings.component.html @@ -4,10 +4,8 @@ Video quota: {{ userVideoQuotaUsed | bytes: 0 }} / {{ userVideoQuota }} - - - - +
Profile
+
Notifications
diff --git a/client/src/app/app-routing.module.ts b/client/src/app/app-routing.module.ts index 545d6aeda..cff37a7d6 100644 --- a/client/src/app/app-routing.module.ts +++ b/client/src/app/app-routing.module.ts @@ -43,7 +43,8 @@ const routes: Routes = [ imports: [ RouterModule.forRoot(routes, { useHash: Boolean(history.pushState) === false, - preloadingStrategy: PreloadSelectedModulesList + preloadingStrategy: PreloadSelectedModulesList, + anchorScrolling: 'enabled' }) ], providers: [ -- 2.41.0