inarray fix
This commit is contained in:
parent
180f76b64f
commit
9348865ec7
|
@ -228,7 +228,7 @@ EmoteModule.prototype.injectEmote = function(node) {
|
|||
|
||||
words.some(function(word) {
|
||||
|
||||
if($.inArray(bemotes, word)) return;
|
||||
if($.inArray(word, bemotes) != -1) return;
|
||||
|
||||
if(emotesTwitch.emotes.hasOwnProperty(word)) {
|
||||
parentInnerHTML = parentInnerHTML.replace(word, "<img src=" + twitchEmoteUrlStart + emotesTwitch.emotes[word].image_id + twitchEmoteUrlEnd + " ><\/img>");
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue