fix reference error in pxmagic.htm
``index`` was undefined
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user