chore(): update stencil (#17163)

* chore(): update stencil

* update
This commit is contained in:
Manu MA
2019-01-19 11:31:15 +01:00
committed by GitHub
parent c917bb4f05
commit 7832be3f1c
4 changed files with 8 additions and 9 deletions

View File

@ -104,7 +104,7 @@ export class Button implements ComponentInterface {
@Listen('click')
onClick(ev: Event) {
if (this.type === 'button') {
return openURL(this.win, this.href, ev, this.routerDirection);
openURL(this.win, this.href, ev, this.routerDirection);
} else if (hasShadowDom(this.el)) {
// this button wants to specifically submit a form
@ -122,7 +122,6 @@ export class Button implements ComponentInterface {
fakeButton.remove();
}
}
return Promise.resolve(false);
}
private onFocus = () => {