Skip to content

Fix: style error on multiple choice submission with enter key#11

Merged
yemaster merged 1 commit intoyemaster:masterfrom
Eric-ZhehanZ:patch-1
Aug 7, 2025
Merged

Fix: style error on multiple choice submission with enter key#11
yemaster merged 1 commit intoyemaster:masterfrom
Eric-ZhehanZ:patch-1

Conversation

@Eric-ZhehanZ
Copy link
Contributor

Quick fix for yemaster/vtix-ng#4.

This pull request makes a minor adjustment to the order in which the rightAnswer and wrongAnswer arrays are cleared in the checkAnswer function, moving their reset to just before the answer validation logic.

This helps ensure the arrays are always reset before any answer checking occurs, thus fixing the issue.

@yemaster yemaster merged commit 68ec0fa into yemaster:master Aug 7, 2025
1 of 2 checks 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.

2 participants