mirror of
https://github.com/vrana/adminer.git
synced 2025-08-30 09:39:51 +02: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