This commit is contained in:
Jiiks 2015-10-29 16:53:14 +02:00
parent 0bd797d89e
commit 8ec1d0d6db
1 changed files with 0 additions and 6 deletions

View File

@ -209,12 +209,6 @@ EmoteModule.prototype.getNodes = function(node) {
nodes.push(next);
}
if(nodes.length < 1) {
treeWalker = document.createTreeWalker(node.parentElement, NodeFilter.SHOW_TEXT);
while(next = treeWalker.nextNode()) {
nodes.push(next);
}
}
return nodes;
};