From 5a89c7ee9f745909c03f13b795ea2bbaba7c4b31 Mon Sep 17 00:00:00 2001 From: Max Pozdeev Date: Wed, 21 Apr 2021 14:35:38 +0300 Subject: [PATCH] * do not allow to drag the task by its note --- src/includes/mytinytodo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/includes/mytinytodo.js b/src/includes/mytinytodo.js index 2971d29..8c3fc43 100644 --- a/src/includes/mytinytodo.js +++ b/src/includes/mytinytodo.js @@ -467,7 +467,7 @@ var mytinytodo = window.mytinytodo = _mtt = { $("#tasklist").sortable({ items: '> :not(.task-completed)', - cancel: 'span,input,a,textarea', + cancel: 'span,input,a,textarea,.task-note', delay: 150, start: tasklistSortStart, update: tasklistSortUpdated,