Fix P2P toggle accessibility

This commit is contained in:
Chocobozzz 2024-09-20 11:20:13 +02:00
parent d950a30bc3
commit c73576cef3
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@
<span class="ms-auto muted">{{ nsfwPolicy }}</span> <span class="ms-auto muted">{{ nsfwPolicy }}</span>
</a> </a>
<button class="dropdown-item" (mousedown)="$event.stopPropagation(); toggleUseP2P()" ngbDropdownItem> <button class="dropdown-item" (mousedown)="$event.stopPropagation(); toggleUseP2P()" [ariaPressed]="user.p2pEnabled" ngbDropdownItem>
<my-global-icon iconName="p2p" aria-hidden="true"></my-global-icon> <my-global-icon iconName="p2p" aria-hidden="true"></my-global-icon>
<ng-container i18n>Help share videos</ng-container> <ng-container i18n>Help share videos</ng-container>