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/checklists.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/checklists.js')
-rw-r--r-- | client/components/cards/checklists.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/components/cards/checklists.js b/client/components/cards/checklists.js index 519af629..e014abba 100644 --- a/client/components/cards/checklists.js +++ b/client/components/cards/checklists.js @@ -1,4 +1,4 @@ -const { calculateIndexData } = Utils; +const { calculateIndexData, enableClickOnTouch } = Utils; function initSorting(items) { items.sortable({ @@ -36,6 +36,9 @@ function initSorting(items) { checklistItem.move(checklistId, sortIndex.base); }, }); + + // ugly touch event hotfix + enableClickOnTouch('.js-checklist-item:not(.placeholder)'); } BlazeComponent.extendComponent({ |