Add workaround so the fsczech quizzes saved before work again
This commit is contained in:
parent
e3a15ac60f
commit
bcbf149c6c
|
@ -547,6 +547,11 @@ window.onload = async function() {
|
|||
state.submitTime = quiz.submitTime
|
||||
state.id = urlId
|
||||
|
||||
// Workaround for quizzes that were saved before the fix
|
||||
// Where the stored value is null instead of Infinity
|
||||
if (state.style == 'FSCzech')
|
||||
state.submitTries = Infinity
|
||||
|
||||
changeView('prescreen')
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue