diff options
Diffstat (limited to 'client/components')
-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')) { |