diff options
author | Lauri Ojansivu <x@xet7.org> | 2020-04-25 14:15:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-25 14:15:58 +0300 |
commit | a84195179ef9dc859f5e91d56a2f4f528aba00a5 (patch) | |
tree | fc73df848d715ba915f70bf4cc990135b59eadba /client/components/lists/list.js | |
parent | 7cf8487f57058ee7dc4835793b4d51302d145761 (diff) | |
parent | f1b18d79cdbfd9c9edecf4f93a89e88ee1c6faea (diff) | |
download | wekan-a84195179ef9dc859f5e91d56a2f4f528aba00a5.tar.gz wekan-a84195179ef9dc859f5e91d56a2f4f528aba00a5.tar.bz2 wekan-a84195179ef9dc859f5e91d56a2f4f528aba00a5.zip |
Merge pull request #3045 from marc1006/mobile_followup
Follow-up for https://github.com/wekan/wekan/pull/3040
Diffstat (limited to 'client/components/lists/list.js')
-rw-r--r-- | client/components/lists/list.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/client/components/lists/list.js b/client/components/lists/list.js index a0031b2f..839304f8 100644 --- a/client/components/lists/list.js +++ b/client/components/lists/list.js @@ -1,6 +1,6 @@ import { Cookies } from 'meteor/ostrio:cookies'; const cookies = new Cookies(); -const { calculateIndex, enableClickOnTouch } = Utils; +const { calculateIndex } = Utils; BlazeComponent.extendComponent({ // Proxy @@ -114,9 +114,6 @@ BlazeComponent.extendComponent({ }, }); - // ugly touch event hotfix - enableClickOnTouch(itemsSelector); - this.autorun(() => { let showDesktopDragHandles = false; currentUser = Meteor.user(); @@ -139,7 +136,7 @@ BlazeComponent.extendComponent({ }); } - if ($cards.data('uiSortable')) { + if ($cards.data('uiSortable') || $cards.data('sortable')) { $cards.sortable( 'option', 'disabled', |