From 5442b1d5a7a441f6c5322ab611c0261162a3efb1 Mon Sep 17 00:00:00 2001 From: Jiiks Date: Thu, 29 Oct 2015 16:53:43 +0200 Subject: [PATCH] d --- js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/main.js b/js/main.js index b7e3dff..ce36bec 100644 --- a/js/main.js +++ b/js/main.js @@ -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; };