Skip to content

Commit

Permalink
multi-state app: key-codes fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sidewayss committed Nov 28, 2024
1 parent a56f01c commit 34f0f33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/multi-state/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function change(evt) {
case TRI: arr = ["Space", val]; break;
case BTN: arr = Array.from(tar.selectedOptions).map(v => v.value);
}
elm[prop] = JSON.stringify(arr);
elm[prop] = arr;
}
else {
elm[prop] = val;
Expand Down

0 comments on commit 34f0f33

Please sign in to comment.