From 76431d4ff189b8531f7bc89dc80e9fa4b8e79bbd Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Fri, 5 Jun 2015 02:13:25 +0100 Subject: provide the state of the game to a newcomer Signed-off-by: Olivier Gayot --- cao-desktop.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cao-desktop.js') diff --git a/cao-desktop.js b/cao-desktop.js index 283893b..2517ef6 100644 --- a/cao-desktop.js +++ b/cao-desktop.js @@ -17,7 +17,7 @@ $(document).ready(function() { $('#btn_join').show(); }; - cao.on_join_game_ok = function() { + cao.on_join_game_ok = function(state) { $('#btn_join').hide(); $('#btn_pick_black').show(); $('#white_cards').show(); -- cgit v1.2.3