Wrap join button in a td
This commit is contained in:
parent
fe09c506c5
commit
5c53da2dbe
|
@ -422,7 +422,7 @@ PublicServers.prototype.addServer = function(name, code, title, language, descri
|
|||
|
||||
tr.append(desc);
|
||||
|
||||
tr.append($("<button/>", {
|
||||
tr.append($("<td/>").append($("<button/>", {
|
||||
text: "Join",
|
||||
css: {
|
||||
"width": "100%",
|
||||
|
@ -435,12 +435,11 @@ PublicServers.prototype.addServer = function(name, code, title, language, descri
|
|||
"color": "#EDEDED"
|
||||
},
|
||||
click: function() { self.joinServer(code); }
|
||||
}));
|
||||
})));
|
||||
|
||||
tableBody.append(tr);
|
||||
};
|
||||
|
||||
|
||||
PublicServers.prototype.show = function() {
|
||||
this.getPanel().toggle();
|
||||
var li = $("#bd-pub-li");
|
||||
|
@ -457,7 +456,7 @@ PublicServers.prototype.joinServer = function(code) {
|
|||
$(".action.join .btn").click();
|
||||
$(".create-guild-container input").val(code);
|
||||
$(".form.join-server .btn-primary").click();
|
||||
}
|
||||
};
|
||||
|
||||
/* BetterDiscordApp QuickEmoteMenu JavaScript
|
||||
* Version: 1.3
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -127,7 +127,7 @@ PublicServers.prototype.addServer = function(name, code, title, language, descri
|
|||
|
||||
tr.append(desc);
|
||||
|
||||
tr.append($("<button/>", {
|
||||
tr.append($("<td/>").append($("<button/>", {
|
||||
text: "Join",
|
||||
css: {
|
||||
"width": "100%",
|
||||
|
@ -140,7 +140,7 @@ PublicServers.prototype.addServer = function(name, code, title, language, descri
|
|||
"color": "#EDEDED"
|
||||
},
|
||||
click: function() { self.joinServer(code); }
|
||||
}));
|
||||
})));
|
||||
|
||||
tableBody.append(tr);
|
||||
};
|
||||
|
@ -161,4 +161,4 @@ PublicServers.prototype.joinServer = function(code) {
|
|||
$(".action.join .btn").click();
|
||||
$(".create-guild-container input").val(code);
|
||||
$(".form.join-server .btn-primary").click();
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue