fix(router): event.defaultPrevented is not reliable (IE11)

This commit is contained in:
Marc Laval
2015-05-21 11:32:29 +02:00
parent 5103f080e9
commit 2287938f5a
7 changed files with 17 additions and 3 deletions

View File

@ -54,7 +54,7 @@ export class RouterLink {
this._location = location;
this._params = StringMapWrapper.create();
DOM.on(this._domEl, 'click', (evt) => {
evt.preventDefault();
DOM.preventDefault(evt);
this._router.navigate(this._navigationHref);
});
}