mirror of
https://github.com/vrana/adminer.git
synced 2026-03-02 18:41:28 +01:00
Reset the style of sortable row after dragging
This commit is contained in:
@@ -621,6 +621,10 @@ function selectSearchSearch() {
|
||||
|
||||
window.addEventListener("mouseup", () => {
|
||||
dragHelper.classList.remove("dragging");
|
||||
dragHelper.style.top = null;
|
||||
dragHelper.style.left = null;
|
||||
dragHelper.style.width = null;
|
||||
|
||||
parent.insertBefore(dragHelper.tagName === "TABLE" ? dragHelper.firstChild : dragHelper, placeholderRow);
|
||||
placeholderRow.remove();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user