summaryrefslogtreecommitdiffstats
path: root/client/components/lists
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-09-25 20:49:19 +0300
committerLauri Ojansivu <x@xet7.org>2019-09-25 20:49:19 +0300
commit872ed4b2f934e9df7a3f4acd63bade013af2d1e9 (patch)
treec5dcbb4ca8367de789a026b117ab0c42fe3df638 /client/components/lists
parent03d7fc02ecc90690e1282d417f35b7e4561af066 (diff)
downloadwekan-872ed4b2f934e9df7a3f4acd63bade013af2d1e9.tar.gz
wekan-872ed4b2f934e9df7a3f4acd63bade013af2d1e9.tar.bz2
wekan-872ed4b2f934e9df7a3f4acd63bade013af2d1e9.zip
Drag handles continue. In progress.
Diffstat (limited to 'client/components/lists')
-rw-r--r--client/components/lists/list.js6
1 files changed, 6 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',