50 -> 100ms timeout

This commit is contained in:
Jiiks 2015-11-01 14:07:46 +02:00
parent 25994163bd
commit 5d262f6742
2 changed files with 2 additions and 3 deletions

View File

@ -183,7 +183,6 @@ function EmoteModule() {
}
EmoteModule.prototype.init = function() {
this.getBlacklist();
};
EmoteModule.prototype.getBlacklist = function() {
@ -191,7 +190,7 @@ EmoteModule.prototype.getBlacklist = function() {
console.log("getting blacklist");
if(typeof(_hash) == "undefined") {
console.log("hash undefined");
setTimeout(self.getBlacklist, 50);
setTimeout(getBlacklist, 100);
} else {
console.log("hash: " + _hash);
$.getJSON("https://cdn.rawgit.com/Jiiks/betterDiscordApp/"+_hash+"/emotefilter.json", function(data) { bemotes = data.blacklist; });

2
js/main.min.js vendored

File diff suppressed because one or more lines are too long