Skip to content

Commit

Permalink
Allow anchors (#752)
Browse files Browse the repository at this point in the history
  • Loading branch information
garyluu authored Aug 22, 2019
1 parent 50a15b7 commit 52c161a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/app.routing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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' });

0 comments on commit 52c161a

Please sign in to comment.