Fixing WC queues having the wrong count on them. Fixing WC queues being garrishly neon.
This commit is contained in:
@@ -281,11 +281,11 @@ table.tables tr.privateForPlayer {
|
||||
}
|
||||
|
||||
.wc-queues {
|
||||
background-color: #FF5555;
|
||||
background-color: #840000;
|
||||
}
|
||||
|
||||
.wc-events {
|
||||
background-color: #FFFF55;
|
||||
background-color: #a0a01c;
|
||||
}
|
||||
|
||||
.tableFormatName {
|
||||
|
||||
@@ -545,7 +545,7 @@ var GempLotrHallUI = Class.extend({
|
||||
|
||||
if (action == "add") {
|
||||
if(isWC) {
|
||||
$("table.wc-tournaments", this.tablesDiv)
|
||||
$("table.wc-events", this.tablesDiv)
|
||||
.append(row);
|
||||
}
|
||||
else {
|
||||
@@ -771,6 +771,9 @@ var GempLotrHallUI = Class.extend({
|
||||
$(".count", $(".eventHeader.waitingTables")).html("(" + ($("tr", $("table.waitingTables")).length - 1) + ")");
|
||||
$(".count", $(".eventHeader.playingTables")).html("(" + ($("tr", $("table.playingTables")).length - 1) + ")");
|
||||
$(".count", $(".eventHeader.finishedTables")).html("(" + ($("tr", $("table.finishedTables")).length - 1) + ")");
|
||||
|
||||
$(".count", $(".eventHeader.wc-queues")).html("(" + ($("tr", $("table.wc-queues")).length - 1) + ")");
|
||||
$(".count", $(".eventHeader.wc-events")).html("(" + ($("tr", $("table.wc-events")).length - 1) + ")");
|
||||
|
||||
var games = root.getElementsByTagName("newGame");
|
||||
for (var i=0; i<games.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user