Remove debugs
This commit is contained in:
parent
13f4ca29e1
commit
f28fb85a20
|
@ -435,12 +435,9 @@ EmoteModule.prototype.injectEmote = function(node) {
|
|||
return;
|
||||
}
|
||||
}
|
||||
|
||||
console.log("Checking for bttv2");
|
||||
|
||||
|
||||
if(typeof emotesBTTV2 !== 'undefined' && settingsCookie["bda-es-2"]) {
|
||||
if(emotesBTTV2.hasOwnProperty(word)) {
|
||||
console.log("bttv2 has word: " + word);
|
||||
var len = Math.round(word.length / 4);
|
||||
parentInnerHTML = parentInnerHTML.replace(word, '<img class="emote" alt="' + word.substr(0, len) + "\uFDD9" + word.substr(len, len) + "\uFDD9" + word.substr(len * 2, len) + "\uFDD9" + word.substr(len * 3) + '" src="' + bttvEmoteUrlStart + emotesBTTV2[word] + bttvEmoteUrlEnd + '" />');
|
||||
return;
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue