diff options
author | amadilsons <joao.amado.95@gmail.com> | 2017-09-27 14:50:00 +0200 |
---|---|---|
committer | amadilsons <joao.amado.95@gmail.com> | 2017-09-27 14:50:00 +0200 |
commit | dcd4a2f1e35eccf056b12de05add8d6ec1707887 (patch) | |
tree | a503f678276cf573733ae990c30368ad63158aca /client/components/cards | |
parent | 75f15f1be218bbfc4a06c0c57c4b1043091b5dc8 (diff) | |
download | wekan-dcd4a2f1e35eccf056b12de05add8d6ec1707887.tar.gz wekan-dcd4a2f1e35eccf056b12de05add8d6ec1707887.tar.bz2 wekan-dcd4a2f1e35eccf056b12de05add8d6ec1707887.zip |
code clean up
Diffstat (limited to 'client/components/cards')
-rw-r--r-- | client/components/cards/checklists.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/client/components/cards/checklists.js b/client/components/cards/checklists.js index 0596d7eb..eccd0551 100644 --- a/client/components/cards/checklists.js +++ b/client/components/cards/checklists.js @@ -203,17 +203,6 @@ Template.checklistDeleteDialog.onDestroyed(() => { $cardDetails.animate( { scrollTop: this.scrollState.position }); }); -BlazeComponent.extendComponent({ - events() { - const handlers = { - 'click .confirm-checklist-delete'() { - console.log(this.scrollState) - }, - } - - return [ handlers ]; - } -}).register('checklistDeleteDialog'); Template.itemDetail.helpers({ canModifyCard() { return Meteor.user() && Meteor.user().isBoardMember() && !Meteor.user().isCommentOnly(); |