diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-07-07 08:50:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-07 08:50:19 +0300 |
commit | efb083aabf677f84822cb264b894cd21a6b20f7c (patch) | |
tree | 143e9bdb1544a1c783bd2c842ed6c3e0a01251de /client/components/cards/cardDetails.js | |
parent | 6c7eab4456f8608ae3893d2200b759d426863cd2 (diff) | |
parent | 5c774070617357c25c7bb35b43f4b122eb4b3e34 (diff) | |
download | wekan-efb083aabf677f84822cb264b894cd21a6b20f7c.tar.gz wekan-efb083aabf677f84822cb264b894cd21a6b20f7c.tar.bz2 wekan-efb083aabf677f84822cb264b894cd21a6b20f7c.zip |
Merge pull request #1757 from Haocen/mobile-hotfix
Mobile hotfix
Diffstat (limited to 'client/components/cards/cardDetails.js')
-rw-r--r-- | client/components/cards/cardDetails.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js index 5fee1680..b41bfc17 100644 --- a/client/components/cards/cardDetails.js +++ b/client/components/cards/cardDetails.js @@ -1,5 +1,5 @@ const subManager = new SubsManager(); -const { calculateIndexData } = Utils; +const { calculateIndexData, enableClickOnTouch } = Utils; BlazeComponent.extendComponent({ mixins() { @@ -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(); } |