summaryrefslogtreecommitdiff
path: root/cao-mobile.js
diff options
context:
space:
mode:
authorJeremie Taboada <taboada.jeremie@gmail.com>2015-06-05 02:54:33 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-06-08 17:01:47 +0100
commit40156abfebbe184487e2d5d49cf35e14a6c6fb2b (patch)
tree2d28234032a1a205f9b06449306181e2d11f391d /cao-mobile.js
parentbdf81335e9ef693367ddbd25f40d327a565d69d6 (diff)
Fix merge fail.
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) {