I'm not sure if anything I did could affect, but I'm sure I didn't touch anything related to contact form 7....
I'm not sure if anything I did could affect, but I'm sure I didn't touch anything related to contact form 7....
Maybe this could help...
if ( wpcf7_script_is() ) {
$src = apply_filters( 'wpcf7_ajax_loader', wpcf7_plugin_url( 'images/ajax-loader.gif' ) );
$html .= '<img class="ajax-loader" style="visibility: hidden;" alt="' . esc_attr( __( 'Sending ...', 'wpcf7' ) ) . '" src="' . esc_url_raw( $src ) . '" />';
}
This is where the script appends the image
v
OK! Got it!
I just deleted the "if ( wpcf7_script_is() ) { "
So now it looks like:
$src = apply_filters( 'wpcf7_ajax_loader', wpcf7_plugin_url( 'images/ajax-loader.gif' ) );
$html .= '<img class="ajax-loader" style="visibility: hidden;" alt="' . esc_attr( __( 'Sending ...', 'wpcf7' ) ) . '" src="' . esc_url_raw( $src ) . '" height="16px" width="16px" />';
I also added the "height="16px" width="16px" just in case
You must log in to post.