/* BetterDiscordApp PublicSevers JavaScripts * Version: 1.0 * Author: Jiiks | http://jiiks.net * Date: 27/08/2015 - 14:16 * https://github.com/Jiiks/BetterDiscordApp */ function PublicServers() { } PublicServers.prototype.getPanel = function () { return this.container; }; PublicServers.prototype.init = function () { var self = this; 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", "border-radius": "4px" } }).append($("").append($("", { css: { "line-height": "20px", "font-size": "12px" }, text: "public", id: "bd-pub-button" }))))); $("#bd-pub-button").on("click", function () { self.show(); }); var panelBase=""; panelBase += "