diff --git a/src/javascript/utils/helpers.ts b/src/javascript/utils/helpers.ts index e9c01fd..84957ce 100644 --- a/src/javascript/utils/helpers.ts +++ b/src/javascript/utils/helpers.ts @@ -43,7 +43,7 @@ export function findTextNodes(baseNode: Node): Array { baseNode = document.documentElement; } - let walker = document.createTreeWalker(baseNode, NodeFilter.SHOW_TEXT, null, false); + let walker = document.createTreeWalker(baseNode, NodeFilter.SHOW_TEXT, null); let node; let results = []; while (node = walker.nextNode()) {