Compare commits
2 Commits
5cb2182f4c
...
872e10ba08
Author | SHA1 | Date | |
---|---|---|---|
872e10ba08 | |||
ca644a6e66 |
@ -4,6 +4,9 @@ After=syslog.target network.target nginx.service
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=www-data
|
User=www-data
|
||||||
|
Group=www-data
|
||||||
|
ReadWriteDirectories=/var/fs-quiz-tool-db
|
||||||
|
WorkingDirectory=/var/fs-quiz-tool-db
|
||||||
ExecStart=/usr/bin/python3 -m fs-quiz-tool-db
|
ExecStart=/usr/bin/python3 -m fs-quiz-tool-db
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
|
@ -157,8 +157,12 @@ function updateSubmitTimer() {
|
|||||||
clearInterval(state.submitInterval)
|
clearInterval(state.submitInterval)
|
||||||
|
|
||||||
if (getRule('questionTimeout') && !getRule('allowQOvertime')) {
|
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
|
submitQuiz() // Force next question
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user