Skip to content

website: fix board dropdown not updating on platform change#27

Merged
zevorn merged 1 commit intomainfrom
website/fix-board-onchange
Mar 15, 2026
Merged

website: fix board dropdown not updating on platform change#27
zevorn merged 1 commit intomainfrom
website/fix-board-onchange

Conversation

@zevorn
Copy link
Copy Markdown
Owner

@zevorn zevorn commented Mar 15, 2026

Summary

Fix updateBoardOptions() not reachable from HTML onchange attribute.
The function was defined inside <script type="module"> (module scope)
but called from an inline handler in global scope. Attach to window.

Test plan

  • Change Platform dropdown, verify Board dropdown updates

Signed-off-by: Chao Liu chao.liu.zevorn@gmail.com

The function was defined inside <script type="module"> but
called from an inline onchange handler in global scope.
Attach it to window so the HTML attribute can reach it.

Signed-off-by: Chao Liu <chao.liu.zevorn@gmail.com>
@zevorn zevorn merged commit 9e32fc8 into main Mar 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant