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