fix(router): preserve fragment on initial load
This commit is contained in:
@ -32,7 +32,7 @@ export class MockLocationStrategy extends LocationStrategy {
|
||||
ObservableWrapper.callEmit(this._subject, new _MockPopStateEvent(this.path()));
|
||||
}
|
||||
|
||||
path(): string { return this.internalPath; }
|
||||
path(includeHash: boolean = false): string { return this.internalPath; }
|
||||
|
||||
prepareExternalUrl(internal: string): string {
|
||||
if (internal.startsWith('/') && this.internalBaseHref.endsWith('/')) {
|
||||
|
Reference in New Issue
Block a user