summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cao-common.js1
-rw-r--r--cao-desktop.js1
2 files changed, 1 insertions, 1 deletions
diff --git a/cao-common.js b/cao-common.js
index 145173c..1047845 100644
--- a/cao-common.js
+++ b/cao-common.js
@@ -74,7 +74,6 @@ var CAO = function() {
/* XXX intentional fallback */
case 'view_player_cards':
if (response['status'] == 0) {
- $('#white_cards').show();
for (var i in response['result']) {
var idx = response['result'][i][0];
var desc = response['result'][i][1];
diff --git a/cao-desktop.js b/cao-desktop.js
index bb6f4e1..ee7dd3b 100644
--- a/cao-desktop.js
+++ b/cao-desktop.js
@@ -6,6 +6,7 @@ $(document).ready(function() {
cao.on_join_game_ok = function() {
$('#btn_join').hide();
$('#btn_pick_black').show();
+ $('#white_cards').show();
};