novalidate order review form

This commit is contained in:
Mike Jolley 2019-02-05 11:23:47 +00:00
parent 86d192b0b4
commit fa9465a2cb
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ jQuery( function( $ ) {
if ( $( document.body ).hasClass( 'woocommerce-order-pay' ) ) {
this.$order_review.on( 'click', 'input[name="payment_method"]', this.payment_method_selected );
this.$order_review.attr( 'novalidate', 'novalidate' );
}
// Prevent HTML5 validation which can conflict.