mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge pull request #185 from keepassxreboot/ignore_comment_nodes
Ignore comment nodes
This commit is contained in:
commit
20f600cce7
1 changed files with 1 additions and 1 deletions
|
|
@ -1180,7 +1180,7 @@ cipObserverHelper.inputTypes = [
|
|||
];
|
||||
|
||||
cipObserverHelper.getInputs = function(target) {
|
||||
if (target.nodeType === Node.TEXT_NODE) {
|
||||
if (target.nodeType === Node.TEXT_NODE || target.nodeType === Node.COMMENT_NODE) {
|
||||
return [];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue