Skip to content
Permalink
Browse files

show tourney checks

  • Loading branch information...
Manuel-777 committed May 6, 2019
1 parent 686b7a6 commit 6c913b43d85abad47fec110d1ce3dabdb0fc3886
Showing with 7 additions and 1 deletion.
  1. +1 −1 package.json
  2. +6 −0 window_main/tournaments.js
@@ -25,7 +25,7 @@
"homepage": "https://mtgatool.com/",
"repository": "https://github.com/Manuel-777/MTG-Arena-Tool",
"bugs": "https://github.com/Manuel-777/MTG-Arena-Tool/issues",
"version": "2.4.1",
"version": "2.4.2",
"main": "main.js",
"build": {
"appId": "com.github.manuel777.mtgatool",
@@ -441,6 +441,9 @@ function showTournamentStarted(mainDiv, tou) {
d2}<div class="${p2wc} tou_match_score">${match.p2w}</div></div>`
);

p1.css("border-left", match.check[0] ? "solid 4px #b7c89e" : "solid 4px #dd8263");
p2.css("border-left", match.check[1] ? "solid 4px #b7c89e" : "solid 4px #dd8263");

p1.appendTo(cont);
p2.appendTo(cont);
});
@@ -493,6 +496,9 @@ function showTournamentStarted(mainDiv, tou) {
d2}<div class="${p2wc} tou_match_score">${match.p2w}</div></div>`
);

p1.css("border-left", match.check[0] ? "solid 4px #b7c89e" : "solid 4px #dd8263");
p2.css("border-left", match.check[1] ? "solid 4px #b7c89e" : "solid 4px #dd8263");

p1.appendTo(cont);
p2.appendTo(cont);
cont.appendTo(round_cont);

0 comments on commit 6c913b4

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