Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Commit

Permalink
Merge pull request #138 from megamit/master
Browse files Browse the repository at this point in the history
Fix for random doubling of public server button
  • Loading branch information
Jiiks committed Jan 13, 2016
2 parents 81e03e5 + 2e9e46a commit a5923eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -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" })))));

Expand Down

0 comments on commit a5923eb

Please sign in to comment.