Change BTTV emote length to 3 (allowing LUL)

This commit is contained in:
Ehsan Kia 2016-10-17 00:19:29 -07:00
parent 24eb3f3d9d
commit 4fa0825bc7
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ EmoteModule.prototype.injectEmote = function(node) {
}
if (typeof emotesBTTV !== 'undefined' && settingsCookie["bda-es-2"]) {
if(emotesBTTV.hasOwnProperty(sw) && sw.length >= 4) {
if(emotesBTTV.hasOwnProperty(sw) && sw.length >= 3) {
if(text != null) { contents.splice(i + splice++, 0, document.createTextNode(text)); text = null;}
var url = emotesBTTV[sw];
contents.splice(i + splice++, 0, self.createEmoteElement(sw, url, emoteClass));