Drag handles continue. In progress.

This commit is contained in:
Lauri Ojansivu 2019-09-25 20:49:19 +03:00
parent 03d7fc02ec
commit 872ed4b2f9
2 changed files with 7 additions and 0 deletions

View file

@ -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',