diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-09-13 03:45:55 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2019-09-13 03:45:55 +0300 |
commit | ff550e91103115e7b731dd80c4588b93b2d4c64f (patch) | |
tree | 79316cf93a59b6a8a09e6dc8071d39ec02547d27 /client/components/swimlanes/swimlanes.js | |
parent | 0fcfc3a34039954a04f2f3549408baaf1dce1b0c (diff) | |
download | wekan-ff550e91103115e7b731dd80c4588b93b2d4c64f.tar.gz wekan-ff550e91103115e7b731dd80c4588b93b2d4c64f.tar.bz2 wekan-ff550e91103115e7b731dd80c4588b93b2d4c64f.zip |
Mobile and Desktop drag handles part 1.
Thanks to xet7 !
Related #2081
Diffstat (limited to 'client/components/swimlanes/swimlanes.js')
-rw-r--r-- | client/components/swimlanes/swimlanes.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/client/components/swimlanes/swimlanes.js b/client/components/swimlanes/swimlanes.js index e0857003..81780a71 100644 --- a/client/components/swimlanes/swimlanes.js +++ b/client/components/swimlanes/swimlanes.js @@ -56,7 +56,7 @@ function initSortable(boardComponent, $listsDom) { $listsDom.sortable({ tolerance: 'pointer', helper: 'clone', - handle: '.js-list-header', + handle: '.js-list-handle', items: '.js-list:not(.js-list-composer)', placeholder: 'list placeholder', distance: 7, @@ -156,7 +156,8 @@ BlazeComponent.extendComponent({ 'input', 'textarea', 'p', - '.js-list-header', + '.js-list-handle', + '.js-swimlane-header-handle', ]; if ( $(evt.target).closest(noDragInside.join(',')).length === 0 && |