feat(routerDirection): refactors goBack

This commit is contained in:
Manu Mtz.-Almeida
2018-04-11 22:40:50 +02:00
parent d623b3b71f
commit 54d7a12bea
11 changed files with 95 additions and 47 deletions

View File

@ -54,7 +54,7 @@ export class BackButton {
ev.preventDefault();
nav.pop();
} else if (this.defaultHref) {
openURL(this.defaultHref, ev, true);
openURL(this.defaultHref, ev, 'back');
}
}