summaryrefslogtreecommitdiff
path: root/cao-desktop.js
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-06-05 02:13:25 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-06-05 02:14:56 +0100
commit76431d4ff189b8531f7bc89dc80e9fa4b8e79bbd (patch)
tree00c687316e42d644fa58b9e5fcf9ea31eb17906a /cao-desktop.js
parenta6a207603c0e1872f424e349cf38533f728b35c9 (diff)
provide the state of the game to a newcomer
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'cao-desktop.js')
-rw-r--r--cao-desktop.js2
1 files changed, 1 insertions, 1 deletions
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();