• 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

    https://ww.wp.xz.cn/plugins/contact-form-7/

Viewing 1 replies (of 1 total)
  • Thread Starter _ck_

    (@_ck_)

    It is not the theme, the STYLE=”” is direct applied on the element

    apparently beforesubmit is being fired on document ready

Viewing 1 replies (of 1 total)

The topic ‘beforeSubmit: ajax-loader visibility: visible ?’ is closed to new replies.