summaryrefslogtreecommitdiff
path: root/cao-mobile.js
diff options
context:
space:
mode:
Diffstat (limited to 'cao-mobile.js')
-rw-r--r--cao-mobile.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/cao-mobile.js b/cao-mobile.js
index 692dab3..51cb7e9 100644
--- a/cao-mobile.js
+++ b/cao-mobile.js
@@ -29,8 +29,9 @@ $(document).ready(function() {
cao.on_join_game_ok = function(game_state) {
$header.show();
$home.removeClass("current");
- $become_judge.addClass("current");
$become_judge_btn.on("click", function () {
+ cao.pick_black_card();
+ });
$game.addClass("current");
$all.hide();
switch (game_state) {