summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/components/activities/comments.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/components/activities/comments.js b/client/components/activities/comments.js
index a3af7ba6..e3a82c4b 100644
--- a/client/components/activities/comments.js
+++ b/client/components/activities/comments.js
@@ -26,8 +26,8 @@ BlazeComponent.extendComponent({
let input = this.getInput();
if ($.trim(input.val())) {
CardComments.insert({
- boardId: this.boardId,
- cardId: this._id,
+ boardId: this.currentData().boardId,
+ cardId: this.currentData()._id,
text: input.val()
});
resetCommentInput(input);