Hotfix more sortable elements

This commit is contained in:
Haocen Xu 2018-07-06 14:42:36 -04:00
parent 43d86d7d5d
commit 616dade81c
6 changed files with 21 additions and 22 deletions

View file

@ -132,6 +132,9 @@ BlazeComponent.extendComponent({
},
});
// ugly touch event hotfix
enableClickOnTouch('.card-checklist-items .js-checklist');
const $subtasksDom = this.$('.card-subtasks-items');
$subtasksDom.sortable({
@ -167,6 +170,9 @@ BlazeComponent.extendComponent({
},
});
// ugly touch event hotfix
enableClickOnTouch('.card-subtasks-items .js-subtasks');
function userIsMember() {
return Meteor.user() && Meteor.user().isBoardMember();
}