mirror of https://github.com/JohnHammond/CTFd.git
Update the amount of solves shown on the chal window when solves are listed (#403)
Closes #402selenium-screenshot-testing
parent
4862a3ca10
commit
069526fc87
|
@ -189,6 +189,7 @@ function updatesolves(cb){
|
|||
function getsolves(id){
|
||||
$.get(script_root + '/chal/'+id+'/solves', function (data) {
|
||||
var teams = data['teams'];
|
||||
$('.chal-solves').text((parseInt(teams.length) + " Solves"));
|
||||
var box = $('#chal-solves-names');
|
||||
box.empty();
|
||||
for (var i = 0; i < teams.length; i++) {
|
||||
|
|
Loading…
Reference in New Issue