Fix regression resetting inputs after wait
The wait timer for the next question would trigger the reset of inputs because FSG thought the question was over without a question submitted
This commit is contained in:
parent
ca644a6e66
commit
872e10ba08
|
@ -157,8 +157,12 @@ function updateSubmitTimer() {
|
|||
clearInterval(state.submitInterval)
|
||||
|
||||
if (getRule('questionTimeout') && !getRule('allowQOvertime')) {
|
||||
console.log("Question not submitted, clearing input");
|
||||
resetQuestionResponse(state.currentQuestion);
|
||||
|
||||
if (!state.waitNextQuestion) {
|
||||
console.log("Question not submitted, clearing input");
|
||||
resetQuestionResponse(state.currentQuestion);
|
||||
}
|
||||
|
||||
submitQuiz() // Force next question
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue