CLEAR THE AREAY

main
SolDev69 2 years ago committed by GitHub
parent f0a453e7e7
commit 645723dae8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -76,7 +76,7 @@ let versionObject64 = {
*/
function onchangeDropdown(value) {
document.getElementById("downloads64").options = [];
document.getElementById("downloads64").options = new Array();
document.getElementById("downloads64").hidden = false;
for (let val in versionObject64[value]) {
document.getElementById("downloads64").options[document.getElementById("downloads64").options.length] = new Option(val, val);
@ -88,4 +88,4 @@ function onchangeDownloads() {
let value = versionObject64[document.getElementById("phase").value][document.getElementById("downloads64").value]
for (let i = 0; i < value.length; i++)
document.getElementById("downloads64-box").innerHTML += "<a href=" + value[i].download + ">" + value[i].version + "</a><br />";
}
}

Loading…
Cancel
Save