code clean up

This commit is contained in:
amadilsons 2017-09-27 14:50:00 +02:00
parent 75f15f1be2
commit dcd4a2f1e3

View file

@ -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();