mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
invoke click on checkbox
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 1f2cf2bcdf...a3beb04f7e
@@ -39,7 +39,7 @@ export class BoxRowDirective implements OnInit {
|
|||||||
if (formEl.tagName.toLowerCase() === 'input') {
|
if (formEl.tagName.toLowerCase() === 'input') {
|
||||||
const inputEl = (formEl as HTMLInputElement);
|
const inputEl = (formEl as HTMLInputElement);
|
||||||
if (inputEl.type != null && inputEl.type.toLowerCase() === 'checkbox') {
|
if (inputEl.type != null && inputEl.type.toLowerCase() === 'checkbox') {
|
||||||
inputEl.checked = !inputEl.checked;
|
inputEl.click();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user