mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 01:28:49 +01:00
Drag handles at checklist items on mobile view #3240
This commit is contained in:
parent
bc929fb7e0
commit
8005640b77
3 changed files with 12 additions and 1 deletions
|
|
@ -58,8 +58,14 @@ BlazeComponent.extendComponent({
|
|||
$(self.itemsDom).sortable(
|
||||
'option',
|
||||
'disabled',
|
||||
!userIsMember() || Utils.isMiniScreen(),
|
||||
!userIsMember(),
|
||||
);
|
||||
if (Utils.isMiniScreenOrShowDesktopDragHandles()) {
|
||||
$(self.itemsDom).sortable({
|
||||
handle: 'span.fa.checklistitem-handle',
|
||||
appendTo: 'parent',
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue