fix reference error in pxmagic.htm

``index`` was undefined
This commit is contained in:
Frank
2025-12-23 02:32:47 +01:00
parent bde1ac9c76
commit 941415b24d

View File

@@ -1053,7 +1053,7 @@
select.innerHTML = ""; select.innerHTML = "";
options.forEach(({ text, value }) => { options.forEach(({ text, value }, index) => {
const option = new Option(text, value); const option = new Option(text, value);
if (index === 0) { if (index === 0) {