shave a line

This commit is contained in:
James Campos 2011-06-30 20:49:19 -07:00
parent 9f54d39a6d
commit 073e2608ae
2 changed files with 2 additions and 4 deletions

View File

@ -2729,8 +2729,7 @@
$.setValue('lastChecked', now); $.setValue('lastChecked', now);
} }
$.addStyle(main.css); $.addStyle(main.css);
if ((form = $('form[name=post]')) && $('#recaptcha_response_field')) { if ((form = $('form[name=post]')) && (canPost = !!$('#recaptcha_response_field'))) {
canPost = true;
Recaptcha.init(); Recaptcha.init();
$.bind(form, 'submit', qr.cb.submit); $.bind(form, 'submit', qr.cb.submit);
} }

View File

@ -2124,8 +2124,7 @@ main =
$.addStyle main.css $.addStyle main.css
if (form = $ 'form[name=post]') and $ '#recaptcha_response_field' if (form = $ 'form[name=post]') and canPost = !!$ '#recaptcha_response_field'
canPost = true
Recaptcha.init() Recaptcha.init()
$.bind form, 'submit', qr.cb.submit $.bind form, 'submit', qr.cb.submit