This commit is contained in:
Jiiks 2015-10-29 16:53:43 +02:00
parent 8ec1d0d6db
commit 5442b1d5a7
1 changed files with 2 additions and 2 deletions

View File

@ -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;
};