Changed touchStart by click
This commit is contained in:
@@ -9,10 +9,10 @@
|
||||
src="https://ionicframework.com/docs/img/demos/avatar.svg"/>
|
||||
</ion-avatar>
|
||||
<ion-label class="text-xs font-mono font-bold"
|
||||
(touchstart)="setOpen(true, friend.friendId)">{{ friend.username }}
|
||||
(click)="setOpen(true, friend.friendId)">{{ friend.username }}
|
||||
</ion-label>
|
||||
<ion-label class="text-xs font-mono text-gray-400">{{ friend.score }} <em>pts</em></ion-label>
|
||||
<ion-button fill="clear" (touchstart)="deleteFriend(friend.friendId)">
|
||||
<ion-button fill="clear" (click)="deleteFriend(friend.friendId)">
|
||||
<ion-icon slot="icon-only" name="close" class="text-red-600"></ion-icon>
|
||||
</ion-button>
|
||||
</ion-item>
|
||||
@@ -23,10 +23,10 @@
|
||||
src="https://ionicframework.com/docs/img/demos/avatar.svg"/>
|
||||
</ion-avatar>
|
||||
<ion-label class="text-xs font-mono font-bold"
|
||||
(touchstart)="setOpen(true, friend.friendId)">{{ friend.username }}
|
||||
(click)="setOpen(true, friend.friendId)">{{ friend.username }}
|
||||
</ion-label>
|
||||
<ion-label class="text-xs font-mono text-gray-400">{{ friend.score }} <em>pts</em></ion-label>
|
||||
<ion-button fill="clear" (touchstart)="deleteFriend(friend.friendId)">
|
||||
<ion-button fill="clear" (click)="deleteFriend(friend.friendId)">
|
||||
<ion-icon slot="icon-only" name="close" class="text-red-600"></ion-icon>
|
||||
</ion-button>
|
||||
</ion-item>
|
||||
@@ -48,7 +48,7 @@
|
||||
<ion-toolbar>
|
||||
<ion-title>Profil</ion-title>
|
||||
<ion-buttons slot="start" style="--ion-color-primary: #0054E9;">
|
||||
<ion-back-button default-href="" (touchstart)="setOpen(false, null)"></ion-back-button>
|
||||
<ion-back-button default-href="" (click)="setOpen(false, null)"></ion-back-button>
|
||||
</ion-buttons>
|
||||
</ion-toolbar>
|
||||
</ion-header>
|
||||
|
||||
Reference in New Issue
Block a user