Skip to content
Permalink
Browse files

fix top 4 view

  • Loading branch information...
Manuel-777 committed May 12, 2019
1 parent c0cd765 commit 0eec484846ebd378e4a84de59bb3bf3450cbf898
Showing with 3 additions and 3 deletions.
  1. +3 −3 window_main/tournaments.js
@@ -128,7 +128,7 @@ function tournamentOpen(t) {
}
if (tou.state == 3) {
state = "";
$$(".state_clock")[0].innerHTML = "Top " + tou.top;
//$$(".state_clock")[0].innerHTML = "Top " + tou.top;
}
if (tou.state == 4) {
state = "Tournament finish.";
@@ -425,7 +425,7 @@ function showTournamentStarted(mainDiv, tou) {
}

let s = "";
if (match.p1 == userName) s = 'style="color: rgba(183, 200, 158, 1);"';
if (match.p1 == playerData.name) s = 'style="color: rgba(183, 200, 158, 1);"';
if (match.p1 == "TBD#00000")
s = 'style="color: rgba(250, 229, 210, 0.65);"';

@@ -434,7 +434,7 @@ function showTournamentStarted(mainDiv, tou) {
d1}<div class="${p1wc} tou_match_score">${match.p1w}</div></div>`
);
s = "";
if (match.p2 == userName) s = 'style="color: rgba(183, 200, 158, 1);"';
if (match.p2 == playerData.name) s = 'style="color: rgba(183, 200, 158, 1);"';
if (match.p2 == "TBD#00000")
s = 'style="color: rgba(250, 229, 210, 0.65);"';
let p2 = $(

0 comments on commit 0eec484

Please sign in to comment.
You can’t perform that action at this time.