Bugfix blacklisted emotes
fixed a bug where blacklisted emotes cut the text off
This commit is contained in:
parent
329d8bc55e
commit
e8e82cb02b
|
@ -616,8 +616,7 @@ EmoteModule.prototype.injectEmote = function(node) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($.inArray(sw, bemotes) != -1) return;
|
||||
if ($.inArray(sw, bemotes) == -1) {
|
||||
|
||||
if(typeof emotesTwitch !== 'undefind' && settingsCookie["bda-es-7"]) {
|
||||
if(emotesTwitch.emotes.hasOwnProperty(sw) && sw.length >= 4) {
|
||||
|
@ -669,7 +668,7 @@ EmoteModule.prototype.injectEmote = function(node) {
|
|||
return;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
if(text == null) {
|
||||
text = w;
|
||||
} else {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue