Skip to content
Snippets Groups Projects
Commit 459f6a29 authored by iaibrys's avatar iaibrys
Browse files

Fix #271

parent 188e1b6a
Branches
No related tags found
1 merge request!1Feature/remove coffeescript
Pipeline #302 passed
......@@ -67,7 +67,7 @@ var StudentQuizzes = {
modalBody.empty()
var instances = StudentQuizzes.allInstances().filter(function(qi) {
return (qi.quiz_number === quiz_number) && (qi.handed_in_time || qi.end_time)
return (qi.quiz_number === parseInt(quiz_number)) && (qi.handed_in_time || qi.end_time)
})
if (instances.length < 1) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment