summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/components/lists/list.js6
-rw-r--r--client/components/swimlanes/swimlanes.js1
2 files changed, 7 insertions, 0 deletions
diff --git a/client/components/lists/list.js b/client/components/lists/list.js
index b7b8b2e0..023ba358 100644
--- a/client/components/lists/list.js
+++ b/client/components/lists/list.js
@@ -43,6 +43,12 @@ BlazeComponent.extendComponent({
});
}
+ if (!Utils.isMiniScreen && !showDesktopDragHandles) {
+ $('.js-minicards').sortable({
+ handle: 'list-header',
+ });
+ }
+
$cards.sortable({
connectWith: '.js-minicards:not(.js-list-full)',
tolerance: 'pointer',
diff --git a/client/components/swimlanes/swimlanes.js b/client/components/swimlanes/swimlanes.js
index 33a7991e..2c916e4d 100644
--- a/client/components/swimlanes/swimlanes.js
+++ b/client/components/swimlanes/swimlanes.js
@@ -68,6 +68,7 @@ function initSortable(boardComponent, $listsDom) {
$listsDom.sortable({
tolerance: 'pointer',
helper: 'clone',
+ handle: '.js-list-header',
items: '.js-list:not(.js-list-composer)',
placeholder: 'list placeholder',
distance: 7,