mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
don't query changed text nodes for children elements
This commit is contained in:
parent
6eb096cd01
commit
e404f871a3
1 changed files with 5 additions and 0 deletions
|
|
@ -1143,6 +1143,11 @@ let observer = new MutationObserver(function(mutations, observer) {
|
|||
}
|
||||
|
||||
for (const mut of mutations) {
|
||||
// skip text nodes
|
||||
if (mut.target.nodeType === Node.TEXT_NODE) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Check if the added element has any inputs
|
||||
const inputs = mut.target.querySelectorAll(cipFields.inputQueryPattern);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue