50 -> 100ms timeout
This commit is contained in:
parent
25994163bd
commit
5d262f6742
|
@ -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; });
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue