inarray fix

This commit is contained in:
Jiiks 2015-10-27 17:47:36 +02:00
parent 180f76b64f
commit 9348865ec7
2 changed files with 2 additions and 2 deletions

View File

@ -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>");

2
js/main.min.js vendored

File diff suppressed because one or more lines are too long