Обычный Крупный Очень крупный
A A
function recaptchaOnloadCallback() { "use strict"; jQuery(".g-recaptcha").each(function () { var reCaptcha = jQuery(this); if (reCaptcha.data("recaptcha-client-id") === undefined) { var recaptchaClientId = grecaptcha.render(reCaptcha.attr("id"), { "callback": function (response) { if (reCaptcha.data("form-id") !== "") { jQuery("#" + reCaptcha.data("input-id"), "#" + reCaptcha.data("form-id")).val(response) .trigger("change"); } else { jQuery("#" + reCaptcha.data("input-id")).val(response).trigger("change"); } if (reCaptcha.attr("data-callback")) { eval("(" + reCaptcha.attr("data-callback") + ")(response)"); } }, "expired-callback": function () { if (reCaptcha.data("form-id") !== "") { jQuery("#" + reCaptcha.data("input-id"), "#" + reCaptcha.data("form-id")).val(""); } else { jQuery("#" + reCaptcha.data("input-id")).val(""); } if (reCaptcha.attr("data-expired-callback")) { eval("(" + reCaptcha.attr("data-expired-callback") + ")()"); } }, }); reCaptcha.data("recaptcha-client-id", recaptchaClientId); if (reCaptcha.data("size") === "invisible") { grecaptcha.execute(recaptchaClientId); } } }); }