diff --git a/js/core.js b/js/core.js index 28e289f..d2fdc4f 100644 --- a/js/core.js +++ b/js/core.js @@ -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($("
", { 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" })))));