Fix sorting object target bug.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
fd95d53702
commit
f79020c95d
6
index.js
6
index.js
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user