Remove debugs and danSgame

This commit is contained in:
Jiiks 2015-12-24 00:22:28 +02:00
parent cbcec9c289
commit 91984955e9
2 changed files with 3 additions and 2 deletions

View File

@ -492,7 +492,7 @@ EmoteModule.prototype.injectEmote = function(node) {
if(word.length < 4) {
return;
}
console.log("WORD: " + word);
if(word == "ClauZ") {
parentInnerHTML = parentInnerHTML.replace("ClauZ", '<img src="https://cdn.frankerfacez.com/emoticon/70852/1" style="width:25px; transform:translate(-29px, -14px);"></img>');
return;
@ -580,6 +580,7 @@ EmoteModule.prototype.autoCapitalize = function() {
var lastWord = text.split(" ").pop();
if(lastWord.length > 3) {
if(lastWord == "danSgame") return;
var ret = self.capitalize(lastWord.toLowerCase());
if(ret !== null && ret !== undefined) {
$(".channel-textarea-inner textarea").val(text.replace(lastWord, ret));

2
js/main.min.js vendored

File diff suppressed because one or more lines are too long