summaryrefslogtreecommitdiffstats
path: root/client/components/swimlanes
diff options
context:
space:
mode:
authorMarc Hartmayer <hello@hartmayer.com>2020-04-24 22:41:24 +0200
committerMarc Hartmayer <hello@hartmayer.com>2020-04-25 09:49:41 +0200
commitf1b18d79cdbfd9c9edecf4f93a89e88ee1c6faea (patch)
treefc73df848d715ba915f70bf4cc990135b59eadba /client/components/swimlanes
parent6d1cdebfe214c7f67f8cc396cf880d1b5a18f013 (diff)
downloadwekan-f1b18d79cdbfd9c9edecf4f93a89e88ee1c6faea.tar.gz
wekan-f1b18d79cdbfd9c9edecf4f93a89e88ee1c6faea.tar.bz2
wekan-f1b18d79cdbfd9c9edecf4f93a89e88ee1c6faea.zip
Don't interpret dragging an element as a click
Remove `enableClickOnTouch` as this behavior is not intuitive.
Diffstat (limited to 'client/components/swimlanes')
-rw-r--r--client/components/swimlanes/swimlanes.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/client/components/swimlanes/swimlanes.js b/client/components/swimlanes/swimlanes.js
index ea8aaf1d..753fa88b 100644
--- a/client/components/swimlanes/swimlanes.js
+++ b/client/components/swimlanes/swimlanes.js
@@ -1,6 +1,6 @@
import { Cookies } from 'meteor/ostrio:cookies';
const cookies = new Cookies();
-const { calculateIndex, enableClickOnTouch } = Utils;
+const { calculateIndex } = Utils;
function currentListIsInThisSwimlane(swimlaneId) {
const currentList = Lists.findOne(Session.get('currentList'));
@@ -87,9 +87,6 @@ function initSortable(boardComponent, $listsDom) {
},
});
- // ugly touch event hotfix
- enableClickOnTouch('.js-list:not(.js-list-composer)');
-
function userIsMember() {
return (
Meteor.user() &&