less indentation
This commit is contained in:
parent
e3c4b66918
commit
eefb5f0ffa
@ -2422,11 +2422,12 @@
|
||||
},
|
||||
reloaded: function(e) {
|
||||
var dialog, target;
|
||||
target = e.target;
|
||||
if (dialog = $('#qr')) {
|
||||
$('img', dialog).src = "http://www.google.com/recaptcha/api/image?c=" + target.value;
|
||||
return $('input[name=recaptcha_challenge_field]', dialog).value = target.value;
|
||||
if (!(dialog = $('#qr'))) {
|
||||
return;
|
||||
}
|
||||
target = e.target;
|
||||
$('img', dialog).src = "http://www.google.com/recaptcha/api/image?c=" + target.value;
|
||||
return $('input[name=recaptcha_challenge_field]', dialog).value = target.value;
|
||||
}
|
||||
};
|
||||
nodeInserted = function(e) {
|
||||
|
||||
@ -1836,10 +1836,10 @@ Recaptcha =
|
||||
reload: ->
|
||||
window.location = 'javascript:Recaptcha.reload()'
|
||||
reloaded: (e) ->
|
||||
return unless dialog = $ '#qr'
|
||||
{target} = e
|
||||
if dialog = $ '#qr'
|
||||
$('img', dialog).src = "http://www.google.com/recaptcha/api/image?c=" + target.value
|
||||
$('input[name=recaptcha_challenge_field]', dialog).value = target.value
|
||||
$('img', dialog).src = "http://www.google.com/recaptcha/api/image?c=" + target.value
|
||||
$('input[name=recaptcha_challenge_field]', dialog).value = target.value
|
||||
|
||||
nodeInserted = (e) ->
|
||||
{target} = e
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user