fix legal link

This commit is contained in:
_Bastler 2021-09-06 09:38:04 +02:00
parent 1bbdf3059c
commit 1fa841c984
2 changed files with 6 additions and 6 deletions

View File

@ -49,11 +49,11 @@
<a routerLink="/tokens" mat-list-item>
<mat-icon>card_giftcard</mat-icon> {{'tokens.redeem' | i18n}}
</a>
<a (click)="openExternal('https://wiki.bstly.de/services/webstly')" mat-list-item>
<a (click)="openExternal('https://wiki.bstly.de/services/webstly','_blank')" mat-list-item>
<mat-icon>help</mat-icon> {{'help' | i18n}}<mat-icon style="font-size: 1em;">open_in_new
</mat-icon>
</a>
<a (click)="openExternal('https://membership.bstly.de')" mat-list-item>
<a (click)="openExternal('https://membership.bstly.de','_blank')" mat-list-item>
<mat-icon>shopping_cart</mat-icon> {{'tokens.get' | i18n}}<mat-icon style="font-size: 1em;">open_in_new
</mat-icon>
</a>
@ -65,10 +65,10 @@
<span class="spacer"></span>
<mat-nav-list>
<a href="https://www.bstly.de/imprint/" mat-list-item style="font-size: 0.7em;">
<a (click)="openExternal('https://www.bstly.de/imprint/')" mat-list-item style="font-size: 0.7em;">
{{'imprint' | i18n}}
</a>
<a routerLink="https://www.bstly.de/privacy-policy/#we.bstly" mat-list-item style="font-size: 0.7em;">
<a (click)="openExternal('https://www.bstly.de/privacy-policy/#we.bstly')" mat-list-item style="font-size: 0.7em;">
{{'privacy-policy' | i18n}}
</a>
</mat-nav-list>

View File

@ -129,8 +129,8 @@ export class AppComponent {
}
}
openExternal(url) {
window.open(url, '_blank');
openExternal(url, target = '_self') {
window.open(url, target);
}
@HostListener('window:resize', ['$event'])