Skip to content

website: fix updateBoardOptions not visible from module scope#31

Merged
zevorn merged 1 commit intomainfrom
website/flash-board-selector
Mar 15, 2026
Merged

website: fix updateBoardOptions not visible from module scope#31
zevorn merged 1 commit intomainfrom
website/flash-board-selector

Conversation

@zevorn
Copy link
Copy Markdown
Owner

@zevorn zevorn commented Mar 15, 2026

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.

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 4e408a1 into main Mar 15, 2026
1 check passed
@zevorn zevorn deleted the website/flash-board-selector branch March 15, 2026 12:01
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