Commit 88427ea0 by Diana Huang

Update criteria for peer grading progress bars.

parent db366d4e
...@@ -19,7 +19,7 @@ class PeerGrading ...@@ -19,7 +19,7 @@ class PeerGrading
problem = $(element) problem = $(element)
progress_bar = problem.find('.progress-bar') progress_bar = problem.find('.progress-bar')
bar_value = parseInt(problem.data('graded')) bar_value = parseInt(problem.data('graded'))
bar_max = parseInt(problem.data('required')) bar_max = parseInt(problem.data('required')) + bar_value
progress_bar.progressbar({value: bar_value, max: bar_max}) progress_bar.progressbar({value: bar_value, max: bar_max})
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment