1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-30 01:30:12 +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);
for (const button of buttons) {
button.onclick = selectRemoveRow;
}
const button = qs('.remove', row);
button.onclick = selectRemoveRow;
const parent = field.parentNode.parentNode;
if (parent.classList.contains("sortable")) {