diff options
author | Luke Shumaker <shumakl@purdue.edu> | 2014-04-28 12:41:18 -0400 |
---|---|---|
committer | Luke Shumaker <shumakl@purdue.edu> | 2014-04-28 12:41:18 -0400 |
commit | 4487d51e90f4e9c985d2fb235b7c0dce43cf0bc7 (patch) | |
tree | 7307cc1b41d3c5c0222bdd500a052b7e87e35f50 /lib/sampling | |
parent | 4252af58c04e119ccce42d57352a836f273d6979 (diff) |
misc view cleanups
Diffstat (limited to 'lib/sampling')
-rw-r--r-- | lib/sampling/peer_review.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sampling/peer_review.html.erb b/lib/sampling/peer_review.html.erb index 8ff350e..e744936 100644 --- a/lib/sampling/peer_review.html.erb +++ b/lib/sampling/peer_review.html.erb @@ -1,12 +1,12 @@ <% if @feedbacks_missing.include? @user %> <script type="text/javascript"> function score_peers() { - var list = $('ol#boxes'); + var list = $('ol#peer_review_boxes'); for(var i=0, var len=list.length; i < len; i++) { if ( i == len-1) { comma = ""; } - $('peer_review').value += $('ol#boxes:eq(' + i + ')').text() + comma; + $('peer_review').value += $('ol#peer_review_boxes:eq(' + i + ')').text() + comma; } } </script> |