display correct captcha length

This commit is contained in:
James Campos 2011-09-02 23:14:01 -07:00
parent 5ef564f598
commit 32ea0a2cb5
2 changed files with 2 additions and 0 deletions

View File

@ -1314,6 +1314,7 @@
}
}
$.set('captchas', captchas);
$('#cl', QR.el).textContent = captchas.length;
return captcha;
},
change: function() {

View File

@ -1022,6 +1022,7 @@ QR =
if captcha.time > cutoff
break
$.set 'captchas', captchas
$('#cl', QR.el).textContent = captchas.length
captcha
change: ->
$.unbind @, 'change', QR.change