From d5066a9a0fa4d806c66bab5bbba2c478926c7f3a Mon Sep 17 00:00:00 2001 From: Jay Phelps Date: Mon, 21 Dec 2015 20:30:59 -0800 Subject: [PATCH] Don't update the location during initial router navigation Closes #6069 --- modules/@angular/router-deprecated/src/router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/@angular/router-deprecated/src/router.ts b/modules/@angular/router-deprecated/src/router.ts index aef8628843..31a4a25af2 100644 --- a/modules/@angular/router-deprecated/src/router.ts +++ b/modules/@angular/router-deprecated/src/router.ts @@ -518,7 +518,7 @@ export class RootRouter extends Router { }); this.registry.configFromComponent(primaryComponent); - this.navigateByUrl(location.path()); + this.navigateByUrl(location.path(), true); } commit(instruction: Instruction, _skipLocationChange: boolean = false): Promise {