From fe0805e9c1cb1e081ffb9513ba0c37bf709b04ea Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Tue, 10 Mar 2020 15:03:32 -0600 Subject: [PATCH] Also set xAnswer for wrong answers --- theme/puzzle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/puzzle.js b/theme/puzzle.js index 6eb5896..7ffbd61 100644 --- a/theme/puzzle.js +++ b/theme/puzzle.js @@ -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 {