Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiiks committed Aug 31, 2015
1 parent ca68a19 commit ff5f8ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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" })))));

Expand All @@ -82,8 +82,9 @@ Core.prototype.init = function() {
waitForGuildsWrapper();
}, 100);
}
}
waitForGuildsWrapper();
}, 3000);


}

Core.prototype.initSettings = function() {
Expand Down
Loading

0 comments on commit ff5f8ec

Please sign in to comment.