Fixes #30828
This commit is contained in:
parent
fc7c6f0b7f
commit
232e47611b
|
@ -579,7 +579,7 @@ jQuery( function( $ ) {
|
|||
var scrollElement = $( '.woocommerce-NoticeGroup-updateOrderReview, .woocommerce-NoticeGroup-checkout' );
|
||||
|
||||
if ( ! scrollElement.length ) {
|
||||
scrollElement = $( '.form.checkout' );
|
||||
scrollElement = $( 'form.checkout' );
|
||||
}
|
||||
$.scroll_to_notices( scrollElement );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue