diff --git a/devjs/main.js b/devjs/main.js index 70409cd..81a6586 100644 --- a/devjs/main.js +++ b/devjs/main.js @@ -86,7 +86,7 @@ Core.prototype.init = function() { var guilds = $(".guilds li:first-child"); - guilds.after($("
", { id: "bd-pub-li", css: { "height": "20px", "display": settingsCookie["bda-gs-1"] == true ? "" : "none" } }).append($("", { class: "guild-inner", css: { "height": "20px" } }).append($("").append($("", { css: { "line-height": "20px" }, text: "public", id: "bd-pub-button" }))))); + guilds.after($("", { id: "bd-pub-li", css: { "height": "20px", "display": settingsCookie["bda-gs-1"] == true ? "" : "none" } }).append($("", { class: "guild-inner", css: { "height": "20px" } }).append($("").append($("", { css: { "line-height": "20px", "font-size": "12px" }, text: "public", id: "bd-pub-button" }))))); guilds.after($("", {id:"tc-settings-li"}).append($("", { class: "guild-inner" }).append($("").append($("", { class: "avatar-small", id: "tc-settings-button" }))))); settingsPanel = new SettingsPanel(); @@ -308,6 +308,8 @@ PublicServers.prototype.getPanel = function() { PublicServers.prototype.init = function() { + var self = this; + this.container = $("", { id: "bd-ps-container", style: "display:none"