Compare commits

..

No commits in common. "872e10ba081baf65cb52836e4a5f7da0336d8803" and "5cb2182f4c2944e9e38e60bdbff46a39e929fe5d" have entirely different histories.

2 changed files with 2 additions and 9 deletions

View File

@ -4,9 +4,6 @@ After=syslog.target network.target nginx.service
[Service]
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
Restart=always

View File

@ -157,12 +157,8 @@ function updateSubmitTimer() {
clearInterval(state.submitInterval)
if (getRule('questionTimeout') && !getRule('allowQOvertime')) {
if (!state.waitNextQuestion) {
console.log("Question not submitted, clearing input");
resetQuestionResponse(state.currentQuestion);
}
console.log("Question not submitted, clearing input");
resetQuestionResponse(state.currentQuestion);
submitQuiz() // Force next question
}