mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Parse input fields correctly before passing them forward
This commit is contained in:
parent
c88ee5bbfc
commit
e7f7163ea0
1 changed files with 1 additions and 1 deletions
|
|
@ -962,7 +962,7 @@ kpxc.initObserver = function() {
|
|||
// Check if some class is changed that holds a form or input field(s). Ignore large forms.
|
||||
const formInput = mut.target.querySelector('form input');
|
||||
if (mut.attributeName === 'class' && formInput !== null && formInput.form.length < 20) {
|
||||
kpxc.handleCredentialFields(Array.from(formInput.form.getElementsByTagName('input')));
|
||||
kpxc.handleCredentialFields(kpxcObserverHelper.getInputs(formInput.form));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue