From 52c161a9639f31eee2598da6e3d495538027404c Mon Sep 17 00:00:00 2001 From: Gary Luu Date: Thu, 22 Aug 2019 17:06:16 -0400 Subject: [PATCH] Allow anchors (#752) --- src/app/app.routing.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/app.routing.ts b/src/app/app.routing.ts index b11836b030..57a1047052 100644 --- a/src/app/app.routing.ts +++ b/src/app/app.routing.ts @@ -24,7 +24,6 @@ import { AuthComponent } from './loginComponents/auth/auth.component'; import { OnboardingComponent } from './loginComponents/onboarding/onboarding.component'; import { QuickStartComponent } from './loginComponents/onboarding/quickstart.component'; import { MaintenanceComponent } from './maintenance/maintenance.component'; -import { SearchComponent } from './search/search.component'; import { AuthGuard } from './shared/auth.guard'; import { SitemapComponent } from './sitemap/sitemap.component'; import { StarredEntriesComponent } from './starredentries/starredentries.component'; @@ -83,4 +82,4 @@ const APP_ROUTES: Routes = [ { path: '**', redirectTo: '' } ]; -export const routing = RouterModule.forRoot(APP_ROUTES, { scrollPositionRestoration: 'enabled' }); +export const routing = RouterModule.forRoot(APP_ROUTES, { scrollPositionRestoration: 'enabled', anchorScrolling: 'enabled' });