Update learn.php
This commit is contained in:
@@ -68,10 +68,6 @@ async function loadWord() {
|
||||
|
||||
async function check() {
|
||||
|
||||
const stats = document.getElementById('stats');
|
||||
stats.innerText =
|
||||
`Correct: ${data.debug?.updatedCorrect ?? '?'} | Wrong: ${data.debug?.updatedWrong ?? '?'}`;
|
||||
|
||||
const answer =
|
||||
document.getElementById('answer').value;
|
||||
|
||||
@@ -99,7 +95,10 @@ async function check() {
|
||||
result.innerText = "Fout";
|
||||
result.style.color = "red";
|
||||
}
|
||||
|
||||
const stats = document.getElementById('stats');
|
||||
stats.innerText =
|
||||
`Correct: ${data.debug?.updatedCorrect ?? '?'} | Wrong: ${data.debug?.updatedWrong ?? '?'}`;
|
||||
|
||||
setTimeout(loadWord, 700);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user