diff --git a/devjs/main.js b/devjs/main.js index 60e30b1..bc33890 100644 --- a/devjs/main.js +++ b/devjs/main.js @@ -197,8 +197,8 @@ EmoteModule.prototype.injectEmote = function(node) { if(!words) return; words.some(function(word) { - if (emotesTwitch.hasOwnProperty(word)) { - parentInnerHTML = parentInnerHTML.replace(word, "<\/img>"); + if (emotesTwitch.emotes.hasOwnProperty(word)) { + parentInnerHTML = parentInnerHTML.replace(word, "<\/img>"); } else if(typeof emotesFfz !== 'undefined' && settingsCookie["bda-es-1"]) { if(emotesFfz.hasOwnProperty(word)) { parentInnerHTML = parentInnerHTML.replace(word, "<\/img>");