Fix sorting object target bug.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Captain ALM 2022-07-30 21:11:29 +01:00
parent fd95d53702
commit f79020c95d
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1

View File

@ -249,8 +249,10 @@ function EntrySort(o, s) {
ReplaceHistory(url+"?"+TheParameters)
}
for (var i = 0; i < EntryIndices.length; i++) {
tNode = EntryData[EntryIndices[i]].parentNode.removeChild(EntryData[EntryIndices[i]])
EntryData[EntryIndices[i]].parentNode.appendChild(tNode)
var tNode = document.getElementById("entry-"+EntryIndices[i])
var pNode = tNode.parentNode
tNode = pNode.removeChild(tNode)
pNode.appendChild(tNode)
}
}
}