hidden iframe
This commit is contained in:
parent
574b2fe2fb
commit
280d8b3d52
@ -1233,7 +1233,8 @@
|
|||||||
return $.bind(quote, 'click', QR.quote);
|
return $.bind(quote, 'click', QR.quote);
|
||||||
});
|
});
|
||||||
$.append(d.body, $.el('iframe', {
|
$.append(d.body, $.el('iframe', {
|
||||||
name: 'iframe'
|
name: 'iframe',
|
||||||
|
hidden: true
|
||||||
}));
|
}));
|
||||||
$.bind(window, 'message', QR.receive);
|
$.bind(window, 'message', QR.receive);
|
||||||
$('#recaptcha_response_field').id = '';
|
$('#recaptcha_response_field').id = '';
|
||||||
|
|||||||
@ -968,6 +968,7 @@ QR =
|
|||||||
$.bind quote, 'click', QR.quote
|
$.bind quote, 'click', QR.quote
|
||||||
$.append d.body, $.el 'iframe',
|
$.append d.body, $.el 'iframe',
|
||||||
name: 'iframe'
|
name: 'iframe'
|
||||||
|
hidden: true
|
||||||
$.bind window, 'message', QR.receive
|
$.bind window, 'message', QR.receive
|
||||||
# nuke id so qr's field focuses on recaptcha reload, instead of normal form's
|
# nuke id so qr's field focuses on recaptcha reload, instead of normal form's
|
||||||
$('#recaptcha_response_field').id = ''
|
$('#recaptcha_response_field').id = ''
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user