parsed sub emotes
This commit is contained in:
parent
0ada2078be
commit
30083aa955
|
@ -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
|
//This is way too slow
|
||||||
/*if(!replaced) {
|
/*if(!replaced) {
|
||||||
$.each(subEmotesTwitch.channels, function() {
|
$.each(subEmotesTwitch.channels, function() {
|
||||||
|
|
Loading…
Reference in New Issue