Also set xAnswer for wrong answers

This commit is contained in:
Neale Pickett 2020-03-10 15:03:32 -06:00
parent dac6fd40e7
commit fe0805e9c1
1 changed files with 1 additions and 1 deletions

View File

@ -215,8 +215,8 @@ function answerCheck(e) {
possiblyCorrect(answer)
.then (correct => {
document.querySelector("[name=xAnswer").value = correct || answer
if (correct) {
document.querySelector("[name=xAnswer").value = correct
ok.textContent = "⭕"
ok.title = "Possibly correct"
} else {