diff options
author | Marc Hartmayer <hello@hartmayer.com> | 2020-04-24 22:41:24 +0200 |
---|---|---|
committer | Marc Hartmayer <hello@hartmayer.com> | 2020-04-25 09:49:41 +0200 |
commit | f1b18d79cdbfd9c9edecf4f93a89e88ee1c6faea (patch) | |
tree | fc73df848d715ba915f70bf4cc990135b59eadba /client/components/cards/cardDetails.js | |
parent | 6d1cdebfe214c7f67f8cc396cf880d1b5a18f013 (diff) | |
download | wekan-f1b18d79cdbfd9c9edecf4f93a89e88ee1c6faea.tar.gz wekan-f1b18d79cdbfd9c9edecf4f93a89e88ee1c6faea.tar.bz2 wekan-f1b18d79cdbfd9c9edecf4f93a89e88ee1c6faea.zip |
Don't interpret dragging an element as a click
Remove `enableClickOnTouch` as this behavior is not intuitive.
Diffstat (limited to 'client/components/cards/cardDetails.js')
-rw-r--r-- | client/components/cards/cardDetails.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js index 90014f7d..f31c3890 100644 --- a/client/components/cards/cardDetails.js +++ b/client/components/cards/cardDetails.js @@ -1,5 +1,5 @@ const subManager = new SubsManager(); -const { calculateIndexData, enableClickOnTouch } = Utils; +const { calculateIndexData } = Utils; let cardColors; Meteor.startup(() => { @@ -231,9 +231,6 @@ BlazeComponent.extendComponent({ }, }); - // ugly touch event hotfix - enableClickOnTouch('.card-checklist-items .js-checklist'); - const $subtasksDom = this.$('.card-subtasks-items'); $subtasksDom.sortable({ @@ -269,9 +266,6 @@ BlazeComponent.extendComponent({ }, }); - // ugly touch event hotfix - enableClickOnTouch('.card-subtasks-items .js-subtasks'); - function userIsMember() { return Meteor.user() && Meteor.user().isBoardMember(); } |