mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Fix shadowSelectorAll check
This commit is contained in:
parent
ef45c45838
commit
3c1519f649
1 changed files with 1 additions and 1 deletions
|
|
@ -1834,7 +1834,7 @@ kpxcObserverHelper.getInputs = function(target, ignoreVisibility = false) {
|
|||
}
|
||||
|
||||
// Append any input fields in Shadow DOM
|
||||
if (target.shadowRoot) {
|
||||
if (target.shadowRoot && typeof target.shadowSelectorAll === 'function') {
|
||||
target.shadowSelectorAll('input').forEach(e => {
|
||||
if (e.type !== 'hidden' && !e.disabled && !kpxcObserverHelper.alreadyIdentified(e)) {
|
||||
inputFields.push(e);
|
||||
|
|
|
|||
Loading…
Reference in a new issue