This commit is contained in:
James Campos 2010-09-08 23:47:51 -07:00
parent d756506656
commit 0f87e7b30e
2 changed files with 2 additions and 2 deletions

View File

@ -419,7 +419,7 @@ iframeLoad = ->
span.textContent = error
span.className = 'error'
qr.appendChild(span)
if error is 'You seem to have mistyped the verification'
if error is 'You seem to have mistyped the verification.'
window.location = 'javascript:Recaptcha.reload()'
else
remove(qr)

View File

@ -458,7 +458,7 @@
span.textContent = error;
span.className = 'error';
qr.appendChild(span);
return error === 'You seem to have mistyped the verification' ? (window.location = 'javascript:Recaptcha.reload()') : null;
return error === 'You seem to have mistyped the verification.' ? (window.location = 'javascript:Recaptcha.reload()') : null;
} else {
remove(qr);
return (window.location = 'javascript:Recaptcha.reload()');