mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2026-02-04 10:35:30 +00:00
better edit behavior for contents
This commit is contained in:
@@ -725,6 +725,10 @@
|
||||
if (!item) {
|
||||
return;
|
||||
}
|
||||
if (item.classList.contains("data-editing")) {
|
||||
event.preventDefault();
|
||||
return;
|
||||
}
|
||||
draggedItem = item;
|
||||
item.dataset.dragging = "true";
|
||||
draggedItem.classList.add("opacity-60");
|
||||
|
||||
Reference in New Issue
Block a user