mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
More robust logic if isMiniScreen or isShowDesktopDragHandles
This commit is contained in:
parent
b59e4d8fc7
commit
7ced602be4
3 changed files with 3 additions and 3 deletions
|
@ -195,7 +195,7 @@ BlazeComponent.extendComponent({
|
|||
$swimlanesDom.sortable({
|
||||
handle: '.js-swimlane-header-handle',
|
||||
});
|
||||
} else if (!Utils.isMiniScreen() && !Utils.isShowDesktopDragHandles()) {
|
||||
} else {
|
||||
$swimlanesDom.sortable({
|
||||
handle: '.swimlane-header',
|
||||
});
|
||||
|
|
|
@ -121,7 +121,7 @@ BlazeComponent.extendComponent({
|
|||
$cards.sortable({
|
||||
handle: '.handle',
|
||||
});
|
||||
} else if (!Utils.isMiniScreen() && !Utils.isShowDesktopDragHandles()) {
|
||||
} else {
|
||||
$cards.sortable({
|
||||
handle: '.minicard',
|
||||
});
|
||||
|
|
|
@ -99,7 +99,7 @@ function initSortable(boardComponent, $listsDom) {
|
|||
$listsDom.sortable({
|
||||
handle: '.js-list-handle',
|
||||
});
|
||||
} else if (!Utils.isMiniScreen() && !Utils.isShowDesktopDragHandles()) {
|
||||
} else {
|
||||
$listsDom.sortable({
|
||||
handle: '.js-list-header',
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue