This commit is contained in:
parent
12fccf9349
commit
cf6718f80f
1 changed files with 7 additions and 1 deletions
|
@ -230,7 +230,13 @@ export const openMenuPanel = (options: {
|
|||
id: sourceId,
|
||||
previousID: sourceElement.previousElementSibling?.getAttribute("data-id")
|
||||
}]);
|
||||
// TODO
|
||||
if (isTop) {
|
||||
targetElement.before(sourceElement)
|
||||
targetElement.classList.remove("dragover__top")
|
||||
} else {
|
||||
targetElement.after(sourceElement)
|
||||
targetElement.classList.remove("dragover__bottom")
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (type === "filters") {
|
||||
|
|
Loading…
Add table
Reference in a new issue