mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Fix comparison
This commit is contained in:
parent
38cf721c5b
commit
5b96b3f756
1 changed files with 5 additions and 2 deletions
|
|
@ -1232,8 +1232,11 @@ cipObserverHelper.getId = function(target) {
|
|||
};
|
||||
|
||||
cipObserverHelper.ignoredElement = function(target) {
|
||||
// Ignore SVG elements
|
||||
if (target.className && (target.nodeName !== 'svg' || target.parentNode.nodeName !== 'svg')) {
|
||||
// Ignore SVG elements
|
||||
if (target.nodeName === 'svg' ||
|
||||
target.nodeName === 'g' ||
|
||||
(target.parentNode &&
|
||||
(target.parentNode.nodeName === 'svg' || target.parentNode.nodeName === 'g'))) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue