This commit is contained in:
Jiiks 2015-08-31 16:29:29 +03:00
parent 38945e0948
commit 02dd3687dd
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ Core.prototype.init = function() {
function waitForGuildsWrapper() {
if($(".guilds-wrapper").size() < 1) {
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" })))));
settingsPanel = new SettingsPanel();

View File

@ -69,7 +69,7 @@ Core.prototype.init = function() {
function waitForGuildsWrapper() {
if($(".guilds-wrapper").size() < 1) {
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" })))));
settingsPanel = new SettingsPanel();