1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +00:00

invoke click on checkbox

This commit is contained in:
Kyle Spearrin
2018-03-09 13:01:49 -05:00
parent f45f511fcd
commit 74db4cc8b4
2 changed files with 2 additions and 2 deletions

2
jslib

Submodule jslib updated: 1f2cf2bcdf...a3beb04f7e

View File

@@ -39,7 +39,7 @@ export class BoxRowDirective implements OnInit {
if (formEl.tagName.toLowerCase() === 'input') {
const inputEl = (formEl as HTMLInputElement);
if (inputEl.type != null && inputEl.type.toLowerCase() === 'checkbox') {
inputEl.checked = !inputEl.checked;
inputEl.click();
return;
}
}