summaryrefslogtreecommitdiffstats
path: root/client/components/cards/cardDetails.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/cards/cardDetails.js')
-rw-r--r--client/components/cards/cardDetails.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js
index 6ea6e777..58ce28e4 100644
--- a/client/components/cards/cardDetails.js
+++ b/client/components/cards/cardDetails.js
@@ -152,10 +152,10 @@ Template.moveCardPopup.events({
});
Template.cardMorePopup.events({
- 'click .js-delete': Popup.afterConfirm('cardDelete', () => {
+ 'click .js-delete': Popup.afterConfirm('cardDelete', function() {
Popup.close();
Cards.remove(this._id);
- Utils.goBoardId(this.board()._id);
+ Utils.goBoardId(this.boardId);
}),
});