This commit is contained in:
Jiiks 2015-10-29 15:54:58 +02:00
parent dc07c79297
commit 585fc7f1f4
1 changed files with 1 additions and 0 deletions

View File

@ -187,6 +187,7 @@ EmoteModule.prototype.obsCallback = function(mutation) {
for(var i = 0 ; i < mutation.addedNodes.length ; ++i) { for(var i = 0 ; i < mutation.addedNodes.length ; ++i) {
var next = mutation.addedNodes.item(i); var next = mutation.addedNodes.item(i);
if(next) { if(next) {
console.log("Next: " + next);
var nodes = self.getNodes(next); var nodes = self.getNodes(next);
for(var node in nodes) { for(var node in nodes) {
if(nodes.hasOwnProperty(node)) { if(nodes.hasOwnProperty(node)) {