diff options
author | Lauri Ojansivu <x@xet7.org> | 2020-04-27 02:56:11 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2020-04-27 02:56:11 +0300 |
commit | 09666585e22a1250416ec95c1ebb2748e2941d4d (patch) | |
tree | ddaa91d021237e0d8263051dcee3f9008a374d9f /client/components/cards | |
parent | ee106d1cb41b8e7b4ae757936f0f46688325f685 (diff) | |
download | wekan-09666585e22a1250416ec95c1ebb2748e2941d4d.tar.gz wekan-09666585e22a1250416ec95c1ebb2748e2941d4d.tar.bz2 wekan-09666585e22a1250416ec95c1ebb2748e2941d4d.zip |
Revert part 2, related https://github.com/wekan/wekan/pull/3048
Diffstat (limited to 'client/components/cards')
-rw-r--r-- | client/components/cards/cardDetails.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js index f31c3890..271fbe2f 100644 --- a/client/components/cards/cardDetails.js +++ b/client/components/cards/cardDetails.js @@ -273,7 +273,10 @@ BlazeComponent.extendComponent({ // Disable sorting if the current user is not a board member this.autorun(() => { const disabled = !userIsMember() || Utils.isMiniScreen(); - if ($checklistsDom.data('uiSortable') || $checklistsDom.data('sortable')) { + if ( + $checklistsDom.data('uiSortable') || + $checklistsDom.data('sortable') + ) { $checklistsDom.sortable('option', 'disabled', disabled); } if ($subtasksDom.data('uiSortable') || $subtasksDom.data('sortable')) { |