Fir for nonchat text getting replaced by emotes

This commit is contained in:
Jiiks 2015-11-29 23:28:21 +02:00
parent 674460f32b
commit 00b9433717
2 changed files with 2 additions and 1 deletions

View File

@ -390,6 +390,7 @@ EmoteModule.prototype.injectEmote = function(node) {
var parent = node.parentElement;
if(parent.tagName != "SPAN") return;
if(!$(parent.parentElement).hasClass("markup")) return;
var parentInnerHTML = parent.innerHTML;
var words = parentInnerHTML.split(/\s+/g);

2
js/main.min.js vendored

File diff suppressed because one or more lines are too long