Skip to content

Commit

Permalink
[MWPW-162639] code removal
Browse files Browse the repository at this point in the history
  • Loading branch information
DKos95 committed Feb 20, 2025
1 parent a628d90 commit 8847b04
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libs/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,6 @@ export const [setConfig, updateConfig, getConfig] = (() => {
})();

export function isInTextNode(node) {
console.log('node.parentElement.children.length', node.parentElement.children.length);

return (node.parentElement.childNodes.length > 1 && node.parentElement.firstChild.tagName === 'A') || node.parentElement.firstChild.nodeType === Node.TEXT_NODE;
}

Expand Down

0 comments on commit 8847b04

Please sign in to comment.