summaryrefslogtreecommitdiffstats
path: root/client/components/boards/boardBody.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2020-04-25 01:41:04 +0300
committerLauri Ojansivu <x@xet7.org>2020-04-25 01:41:04 +0300
commit666186fee809ded9cedfb949cbb09fc41775954c (patch)
tree64043e413566d006e8a19e281e9cb3591460cd78 /client/components/boards/boardBody.js
parent5eb5ca5752c3930d056165fcad42d712a7138a3e (diff)
parent6476503137fc41cf52e913aa33aed6bb1abaac6a (diff)
downloadwekan-666186fee809ded9cedfb949cbb09fc41775954c.tar.gz
wekan-666186fee809ded9cedfb949cbb09fc41775954c.tar.bz2
wekan-666186fee809ded9cedfb949cbb09fc41775954c.zip
Merge branch 'mobile' of https://github.com/marc1006/wekan into marc1006-mobile
Diffstat (limited to 'client/components/boards/boardBody.js')
-rw-r--r--client/components/boards/boardBody.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/client/components/boards/boardBody.js b/client/components/boards/boardBody.js
index e70a9f67..29922fcc 100644
--- a/client/components/boards/boardBody.js
+++ b/client/components/boards/boardBody.js
@@ -205,7 +205,7 @@ BlazeComponent.extendComponent({
} else {
showDesktopDragHandles = false;
}
- if (!Utils.isMiniScreen() && showDesktopDragHandles) {
+ if (Utils.isMiniScreen() || showDesktopDragHandles) {
$swimlanesDom.sortable({
handle: '.js-swimlane-header-handle',
});
@@ -215,9 +215,8 @@ BlazeComponent.extendComponent({
});
}
- // Disable drag-dropping if the current user is not a board member or is miniscreen
+ // Disable drag-dropping if the current user is not a board member
$swimlanesDom.sortable('option', 'disabled', !userIsMember());
- $swimlanesDom.sortable('option', 'disabled', Utils.isMiniScreen());
});
function userIsMember() {