Skip to content

Commit

Permalink
fix: add keydown
Browse files Browse the repository at this point in the history
  • Loading branch information
kovalsofiia1 committed Nov 10, 2024
1 parent b4a94d7 commit 00a3844
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
<span>{{ 'profile.dashboard.add-event' | translate }}</span>
</div>
</a>
<div class="favourites" (click)="toggleFavorites()">
<div class="favourites" (click)="toggleFavorites()" (keydown.enter)="toggleFavorites()">
<span [ngClass]="isFavoriteBtnClicked ? 'flag-active' : 'flag'"></span>
</div>
</div>
Expand Down

0 comments on commit 00a3844

Please sign in to comment.