summaryrefslogtreecommitdiff
path: root/cao-common.js
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-06-05 00:52:05 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-06-05 00:52:05 +0100
commitb6e255d905b3180e6d064c3dad253bf44b1e9368 (patch)
tree0aeb036ee2c61edc4e5f09c7fab3e777794d096c /cao-common.js
parent6872677a6da03a2a2218a17fcf8b6a54cece9b3f (diff)
fixed invalid removal of card
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'cao-common.js')
-rw-r--r--cao-common.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/cao-common.js b/cao-common.js
index 2e62d2b..3064cd7 100644
--- a/cao-common.js
+++ b/cao-common.js
@@ -94,7 +94,7 @@ var CAO = function() {
};
map_handle_notif['received_card'] = function(result) {
- var idx = result['card']['idx'];
+ var idx = result['card']['id'];
var desc = result['card']['desc'];
white_cards[idx] = desc;