From b65442b4bc151d8161c68adb4b7330ca2230a503 Mon Sep 17 00:00:00 2001 From: Jeremie Taboada Date: Fri, 5 Jun 2015 02:57:42 +0100 Subject: Fix double trigger become_judge. --- cao-mobile.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/cao-mobile.js b/cao-mobile.js index 51cb7e9..d476e1c 100644 --- a/cao-mobile.js +++ b/cao-mobile.js @@ -29,9 +29,6 @@ $(document).ready(function() { cao.on_join_game_ok = function(game_state) { $header.show(); $home.removeClass("current"); - $become_judge_btn.on("click", function () { - cao.pick_black_card(); - }); $game.addClass("current"); $all.hide(); switch (game_state) { -- cgit v1.2.3