mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge pull request #2673 from keepassxreboot/fix/custom_login_fields_with_topmost_elem
Fix Custom Login Fields with topmost element check
This commit is contained in:
commit
0bb0d97d2b
1 changed files with 1 additions and 1 deletions
|
|
@ -534,7 +534,7 @@ kpxcFields.useCustomLoginFields = async function() {
|
||||||
// Get all input fields from the page without any extra filters
|
// Get all input fields from the page without any extra filters
|
||||||
const inputFields = [];
|
const inputFields = [];
|
||||||
document.body.querySelectorAll('input, select, textarea').forEach(e => {
|
document.body.querySelectorAll('input, select, textarea').forEach(e => {
|
||||||
if (e.type !== 'hidden' && !e.disabled && kpxcFields.isTopElement(e, e?.getBoundingClientRect())) {
|
if (e.type !== 'hidden' && !e.disabled) {
|
||||||
inputFields.push(e);
|
inputFields.push(e);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue