From 43d86d7d5d3f3b34b0500f6d5d3afe7bd86b0060 Mon Sep 17 00:00:00 2001 From: Haocen Xu Date: Fri, 6 Jul 2018 12:48:46 -0400 Subject: Hotfix for mobile device --- client/components/swimlanes/swimlanes.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'client/components/swimlanes') diff --git a/client/components/swimlanes/swimlanes.js b/client/components/swimlanes/swimlanes.js index c67fe6af..2acf4a82 100644 --- a/client/components/swimlanes/swimlanes.js +++ b/client/components/swimlanes/swimlanes.js @@ -1,4 +1,4 @@ -const { calculateIndex } = Utils; +const { calculateIndex, enableClickOnTouch } = Utils; function currentCardIsInThisList(listId, swimlaneId) { const currentCard = Cards.findOne(Session.get('currentCard')); @@ -66,6 +66,11 @@ function initSortable(boardComponent, $listsDom) { }, }); + // ugly touch event hotfix + $('.js-list:not(.js-list-composer)').each(function() { + enableClickOnTouch(this); + }); + function userIsMember() { return Meteor.user() && Meteor.user().isBoardMember() && !Meteor.user().isCommentOnly(); } -- cgit v1.2.3-1-g7c22