Skip to content

Commit 697f0c2

Browse files
Merge branch 'cardcount' of git://github.com/Arc676/KgF into Arc676-cardcount
2 parents a36fb64 + 80e026e commit 697f0c2

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/res/js/match/match.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@
6666
allowChoose = data.allowChoose
6767
allowPick = data.allowPick
6868
isSpectator = data.isSpectator
69+
$("#cardcount").html("Selected: " + numSelected + "/" + numGaps);
70+
6971
if (isSpectator) {
7072
$(".match-hand").addClass("invisible")
7173
}

src/res/tpl/match.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@
3838
<div class="countdown-clock" id="countdown">
3939
00:00
4040
</div>
41+
<div id="cardcount">
42+
(No cards to select)
43+
</div>
4144
<div class="card-base system-card sticky-card" id="match-statement">
4245
Waiting...
4346
</div>

0 commit comments

Comments
 (0)