fix(location): dartium does not like pushState with null.

According to
https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Manipulating_the_browser_history
the value of the title parameter is irrelevant anyways.
This commit is contained in:
Rado Kirov
2015-05-08 18:45:48 -07:00
parent 01d5c29513
commit c2a42d5d2b
2 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ export class Location {
go(url:string) {
url = this._stripBaseHref(url);
this._browserLocation.pushState(null, null, url);
this._browserLocation.pushState(null, '', url);
}
forward() {