This commit is contained in:
parent
8ec1d0d6db
commit
5442b1d5a7
|
@ -203,13 +203,13 @@ EmoteModule.prototype.getNodes = function(node) {
|
|||
var next;
|
||||
var nodes = [];
|
||||
|
||||
var treeWalker = document.createTreeWalker(node, NodeFilter.SHOW_TEXT, null, false);
|
||||
var treeWalker = document.createTreeWalker(node, NodeFilter.SHOW_TEXT);
|
||||
|
||||
while(next = treeWalker.nextNode()) {
|
||||
nodes.push(next);
|
||||
}
|
||||
|
||||
|
||||
|
||||
return nodes;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue