Server Versions Ordered by Descending

This commit is contained in:
Silversthorn 2021-11-05 19:33:24 +01:00
parent 126964dc30
commit 133e7cf291

View File

@ -308,8 +308,8 @@
cSelect.remove(0);
}
var newOption;
// create new options
for (var i=0; i<cList.length; i++) {
// create new options ordered by descending
for (var i=(cList.length)-1; i>=0; i--) {
newOption = document.createElement("option");
newOption.value = which+"|"+cList[i]; // assumes option string and value are the same
newOption.text=cList[i];