parsed sub emotes

This commit is contained in:
Jiiks 2015-10-24 16:50:23 +03:00
parent 0ada2078be
commit 30083aa955
1 changed files with 4 additions and 0 deletions

View File

@ -217,6 +217,10 @@ EmoteModule.prototype.injectEmote = function(node) {
}
}
if(subEmotesTwitch.hasOwnProperty(word)) {
parentInnerHTML = parentInnerHTML.replace(word, "<img src=" + twitchEmoteUrlStart + subEmotesTwitch[word] + twitchEmoteUrlEnd + " ><\/img>");
}
//This is way too slow
/*if(!replaced) {
$.each(subEmotesTwitch.channels, function() {