summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--proto.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto.js b/proto.js
index 87d2e7b..890d1ec 100644
--- a/proto.js
+++ b/proto.js
@@ -273,6 +273,7 @@ function deleteTask(id) {
function drag(target, e) {
e.dataTransfer.setData('Text', target.id);
+
e.stopPropagation(); // <--- this fixes the drag target problem
}