Skip to content

Commit 941415b

Browse files
committed
fix reference error in pxmagic.htm
``index`` was undefined
1 parent bde1ac9 commit 941415b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wled00/data/pxmagic/pxmagic.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,7 @@
10531053

10541054
select.innerHTML = "";
10551055

1056-
options.forEach(({ text, value }) => {
1056+
options.forEach(({ text, value }, index) => {
10571057
const option = new Option(text, value);
10581058

10591059
if (index === 0) {

0 commit comments

Comments
 (0)