dragData already set by setDragAction

This commit is contained in:
the-djmaze 2023-12-03 20:40:54 +01:00
parent ef5c3f73a5
commit 20058edd71

View file

@ -193,10 +193,6 @@ Object.assign(ko.bindingHandlers, {
};
addEventsListeners(element, {
dragstart: e => {
dragData = {
action: 'sortable',
element: element
};
setDragAction(e, 'sortable', 'move', element, element);
element.style.opacity = 0.25;
},