Fix for random doubling of public server button
This commit is contained in:
parent
a9c73c721a
commit
2e9e46ae90
|
@ -165,7 +165,7 @@ Core.prototype.init = function() {
|
|||
console.log(new Date().getTime() + " Defer");
|
||||
if($(".guilds-wrapper .guilds").children().length > 0) {
|
||||
console.log(new Date().getTime() + " Defer Loaded");
|
||||
var guilds = $(".guilds li:first-child");
|
||||
var guilds = $(".guilds>li:first-child");
|
||||
|
||||
guilds.after($("<li></li>", { id: "bd-pub-li", css: { "height": "20px", "display": settingsCookie["bda-gs-1"] == true ? "" : "none" } }).append($("<div/>", { class: "guild-inner", css: { "height": "20px", "border-radius": "4px" } }).append($("<a/>").append($("<div/>", { css: { "line-height": "20px", "font-size": "12px" }, text: "public", id: "bd-pub-button" })))));
|
||||
|
||||
|
|
Loading…
Reference in New Issue