beforeSubmit: ajax-loader visibility: visible ?
-
Pretty sure this is a bug, it makes the submit spinner visible when the page loads, before the form is submitted
beforeSubmit: function(arr, $form, options) { $form.wpcf7ClearResponseOutput(); $form.find('[aria-invalid]').attr('aria-invalid', 'false'); $form.find('img.ajax-loader').css({ visibility: 'visible' }); return true; },Should be hidden
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘beforeSubmit: ajax-loader visibility: visible ?’ is closed to new replies.