浏览代码

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

Martin Filser 3 年之前
父节点
当前提交
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
     // Disable drag-dropping if the current user is not a board member or is comment only
     this.autorun(() => {
     this.autorun(() => {
-      if (Utils.isMiniScreen()) {
+      if (Utils.isMiniScreenOrShowDesktopDragHandles()) {
         $labels.sortable({
         $labels.sortable({
           handle: '.label-handle',
           handle: '.label-handle',
         });
         });