This commit is contained in:
Jiiks 2015-10-14 09:37:52 +03:00
parent dbbe98b8f0
commit 41babbd553
1 changed files with 2 additions and 2 deletions

View File

@ -213,9 +213,9 @@ EmoteModule.prototype.injectEmote = function(node) {
}
});
var oldHeight = parent.parent().height();
var oldHeight = parent.parentElement.height();
parent.innerHTML = parentInnerHTML;
var newHeight = parent.parent().height();
var newHeight = parent.parentElement.height();
console.log("heightdiff: " + newHeight - oldHeight);
}