mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Fix Can't Scroll on All Boards on mobile phone. Added drag handles.
Thanks to xet7 ! Fixes #3096
This commit is contained in:
parent
4879df0244
commit
98e255ccec
3 changed files with 26 additions and 0 deletions
|
|
@ -72,6 +72,12 @@ BlazeComponent.extendComponent({
|
|||
|
||||
// Disable drag-dropping if the current user is not a board member or is comment only
|
||||
this.autorun(() => {
|
||||
if (Utils.isMiniScreen()) {
|
||||
$boards.sortable({
|
||||
handle: '.board-handle',
|
||||
});
|
||||
}
|
||||
|
||||
$boards.sortable('option', 'disabled', !userIsAllowedToMove());
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue