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/lists | |
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/lists')
-rw-r--r-- | client/components/lists/list.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/components/lists/list.js b/client/components/lists/list.js index 38a87674..267af31c 100644 --- a/client/components/lists/list.js +++ b/client/components/lists/list.js @@ -1,4 +1,4 @@ -const { calculateIndex } = Utils; +const { calculateIndex, enableClickOnTouch } = Utils; BlazeComponent.extendComponent({ // Proxy @@ -83,6 +83,9 @@ BlazeComponent.extendComponent({ }, }); + // ugly touch event hotfix + enableClickOnTouch(itemsSelector); + // Disable drag-dropping if the current user is not a board member or is comment only this.autorun(() => { $cards.sortable('option', 'disabled', !userIsMember()); |