diff --git a/js/main.js b/js/main.js index bf8bc91f..27c727e0 100644 --- a/js/main.js +++ b/js/main.js @@ -200,27 +200,22 @@ EmoteModule.prototype.obsCallback = function(mutation) { }; EmoteModule.prototype.getNodes = function(node) { - console.log("GETNODES=>"); var next; var nodes = []; var treeWalker = document.createTreeWalker(node, NodeFilter.SHOW_TEXT, null, false); while(next = treeWalker.nextNode()) { - console.log("NEXT: " + next); nodes.push(next); } if(nodes.length < 1) { treeWalker = document.createTreeWalker(node.parentElement, NodeFilter.SHOW_TEXT); while(next = treeWalker.nextNode()) { - console.log("PACCEPTED: " + next); - console.log(next); nodes.push(next); } } - - console.log("<=GETNODES"); + return nodes; };