summaryrefslogtreecommitdiffstats
path: root/client/components/lists/list.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2020-04-25 14:15:58 +0300
committerGitHub <noreply@github.com>2020-04-25 14:15:58 +0300
commita84195179ef9dc859f5e91d56a2f4f528aba00a5 (patch)
treefc73df848d715ba915f70bf4cc990135b59eadba /client/components/lists/list.js
parent7cf8487f57058ee7dc4835793b4d51302d145761 (diff)
parentf1b18d79cdbfd9c9edecf4f93a89e88ee1c6faea (diff)
downloadwekan-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.js7
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',