From 4fa0825bc7a7e358b89aa1c138a3aea57b924ce2 Mon Sep 17 00:00:00 2001 From: Ehsan Kia Date: Mon, 17 Oct 2016 00:19:29 -0700 Subject: [PATCH] Change BTTV emote length to 3 (allowing LUL) --- dev/js/02emoteModule.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/js/02emoteModule.js b/dev/js/02emoteModule.js index 6c345631..70e2c819 100644 --- a/dev/js/02emoteModule.js +++ b/dev/js/02emoteModule.js @@ -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));