recaptcha form fix
This commit is contained in:
@@ -13,11 +13,14 @@ $(function() {
|
||||
url: $form.attr('action'),
|
||||
data: $form.serialize(),
|
||||
success: function(data) {
|
||||
django_recaptcha_callbacks = [];
|
||||
var $new = $(data).find('#' + id);
|
||||
$new.find('.reveal').each(function() {
|
||||
$(this).removeClass('reveal reveal_animation');
|
||||
});
|
||||
$new.removeClass('reveal reveal_animation');
|
||||
$form.replaceWith($new);
|
||||
djangoRecaptchaOnLoadCallback();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user