This commit is contained in:
Jiiks 2015-08-31 16:59:34 +03:00
parent ca68a1995d
commit ff5f8ec0ed
2 changed files with 6 additions and 5 deletions

View File

@ -67,8 +67,8 @@ Core.prototype.init = function() {
this.initSettings();
this.initObserver();
function waitForGuildsWrapper() {
//Temp
setTimeout(function() {
if($(".guilds-wrapper").size() > 0) {
$(".guilds li:first-child").after($("<li/>", {id:"tc-settings-li"}).append($("<div/>", { class: "guild-inner" }).append($("<a/>").append($("<div/>", { class: "avatar-small", id: "tc-settings-button" })))));
@ -82,8 +82,9 @@ Core.prototype.init = function() {
waitForGuildsWrapper();
}, 100);
}
}
waitForGuildsWrapper();
}, 3000);
}
Core.prototype.initSettings = function() {

2
js/main.min.js vendored

File diff suppressed because one or more lines are too long