ore(childTr);
            } else {
              let child = $('#tasks-' + event.item.id).remove().clone();
              $('#' + event.item.id).after(child);
            }
            {% comment %} Re-init the click functions for task lists following removals and clones {% endcomment %}
            prepareTodoList();
          },

          {% comment %} Element is dropped into the list from another list {% endcomment %}
          onAdd: function (event) {
            let placeholder = event.to.getElements