1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-30 17:50:00 +02:00

Fix disappearing dragged row

This commit is contained in:
Peter Knut
2024-10-31 22:43:29 +01:00
parent c815ea875b
commit 85c0c8f003

View File

@@ -484,10 +484,8 @@ function selectAddRow(event) {
} }
} }
const buttons = qsa('.icon', row); const button = qs('.remove', row);
for (const button of buttons) { button.onclick = selectRemoveRow;
button.onclick = selectRemoveRow;
}
const parent = field.parentNode.parentNode; const parent = field.parentNode.parentNode;
if (parent.classList.contains("sortable")) { if (parent.classList.contains("sortable")) {