This commit is contained in:
JustAGenericUsername 2024-04-06 19:56:21 -04:00
parent 07ccf2541a
commit 1c6e49a3a2
1 changed files with 1 additions and 1 deletions

View File

@ -71,6 +71,7 @@ if (Math.abs(settings.randomcount) == settings.randomcount){
}
} else {
window.addEventListener('load', function() {
elementslist = []
for (elementi in elements){
elementslist.push(elementi)
}
@ -78,7 +79,6 @@ if (Math.abs(settings.randomcount) == settings.randomcount){
const p = document.createElement("p");
p.innerText = `v${currentversion}` +(eLen - Math.abs(settings.randomcount)) +` elements, with 0 hidden`;
document.getElementById("extraInfo").querySelectorAll("small")[1].replaceChildren(p);
elementslist = []
if (Math.abs(settings.randomcount) > elementslist.length){
console.log("mode 1")
for (var elementi in elements){