1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 01:33:33 +00:00

Add type="button" to button elements (#2131)

* Add type="button" to button elements

* Add  type="button" to button elements in notificationBar
This commit is contained in:
Thomas Rittson
2021-10-20 07:52:12 +10:00
committed by GitHub
parent b8676cf398
commit 6ff7112bb7
5 changed files with 8 additions and 8 deletions

View File

@@ -14,7 +14,7 @@
class="monospaced" [(ngModel)]="pin" required appInputVerbatim cdkFocusInitial>
</div>
<div class="action-buttons">
<button class="row-btn" appStopClick appBlurClick appA11yTitle="{{'toggleVisibility' | i18n}}"
<button type="button" class="row-btn" appStopClick appBlurClick appA11yTitle="{{'toggleVisibility' | i18n}}"
(click)="toggleVisibility()">
<i class="fa fa-lg" aria-hidden="true"
[ngClass]="{'fa-eye': !showPin, 'fa-eye-slash': showPin}"></i>