app/assets/javascripts/ajax_forms.js.erb in alchemy-ajax-form-1.2.1 vs app/assets/javascripts/ajax_forms.js.erb in alchemy-ajax-form-2.0.0
- old
+ new
@@ -137,10 +137,10 @@
var container_div = $('<div class="invisible_recaptcha_container"></div>');
$(submit_button).before(container_div);
var widget_id = grecaptcha.render(container_div[0], {
'sitekey': '<%= Recaptcha.configuration.site_key! %>',
- 'badge': '<%= Alchemy::Ajax::Form.recaptcha_badge %>',
+ 'badge': 'inline',
'size': 'invisible',
'callback': function () {
submit_function(form, method, action);
}
});