Fix cards remaining disabled after exiting test and starting another

This commit is contained in:
Andrio Celos 2023-08-30 15:06:13 +10:00
parent a839ac99b0
commit 7e7f4e7015

View File

@ -179,6 +179,8 @@ function initTest(stage: Stage) {
testAllCardsButton.checked = false;
setTestListPage(false);
testAllCardsList.clearFilter();
for (const button of testDeckCardButtons.concat(testAllCardsList.cardButtons))
button.enabled = true;
}
replayNextButton.buttonElement.addEventListener('click', _ => {