This commit is contained in:
parent
0bd797d89e
commit
8ec1d0d6db
|
@ -209,12 +209,6 @@ EmoteModule.prototype.getNodes = function(node) {
|
||||||
nodes.push(next);
|
nodes.push(next);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(nodes.length < 1) {
|
|
||||||
treeWalker = document.createTreeWalker(node.parentElement, NodeFilter.SHOW_TEXT);
|
|
||||||
while(next = treeWalker.nextNode()) {
|
|
||||||
nodes.push(next);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return nodes;
|
return nodes;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue