Debugging

This commit is contained in:
Jiiks 2015-11-01 14:02:22 +02:00
parent 254f00eff9
commit 25994163bd
2 changed files with 4 additions and 4 deletions

View File

@ -192,10 +192,10 @@ EmoteModule.prototype.getBlacklist = function() {
if(typeof(_hash) == "undefined") {
console.log("hash undefined");
setTimeout(self.getBlacklist, 50);
return;
} else {
console.log("hash: " + _hash);
$.getJSON("https://cdn.rawgit.com/Jiiks/betterDiscordApp/"+_hash+"/emotefilter.json", function(data) { bemotes = data.blacklist; });
}
console.log("hash: " + _hash);
$.getJSON("https://cdn.rawgit.com/Jiiks/betterDiscordApp/"+_hash+"/emotefilter.json", function(data) { bemotes = data.blacklist; });
};
EmoteModule.prototype.obsCallback = function(mutation) {

2
js/main.min.js vendored

File diff suppressed because one or more lines are too long