Exclude short emotes

This commit is contained in:
Zack Rauen 2018-01-08 22:55:12 -05:00
parent 8a7b7b1f81
commit 6e6987676a
2 changed files with 2 additions and 2 deletions

View File

@ -862,7 +862,7 @@ EmoteModule.prototype.injectEmote = async function(node) {
let emoteName = emoteSplit[0];
let emoteModifier = emoteSplit[1] ? emoteSplit[1] : "";
if (bemotes.includes(emoteName)) continue;
if (bemotes.includes(emoteName) || emoteName.length < 4) continue;
if (!this.modifiers.includes(emoteModifier) || !settingsCookie["bda-es-8"]) emoteModifier = "";
for (let c = 0, clen = this.categories.length; c < clen; c++) {

2
js/main.min.js vendored

File diff suppressed because one or more lines are too long