Просмотр исходного кода

Fix: Labels at desktop view with enabled drag handles were sortable

Martin Filser 3 лет назад
Родитель
Сommit
94f8fb2393
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      client/components/cards/labels.js

+ 1 - 1
client/components/cards/labels.js

@@ -67,7 +67,7 @@ BlazeComponent.extendComponent({
 
     // Disable drag-dropping if the current user is not a board member or is comment only
     this.autorun(() => {
-      if (Utils.isMiniScreen()) {
+      if (Utils.isMiniScreenOrShowDesktopDragHandles()) {
         $labels.sortable({
           handle: '.label-handle',
         });