Remove debugs

This commit is contained in:
Jiiks 2015-12-10 05:06:30 +02:00
parent 13f4ca29e1
commit f28fb85a20
2 changed files with 3 additions and 6 deletions

View File

@ -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;

4
js/main.min.js vendored

File diff suppressed because one or more lines are too long