This commit is contained in:
James 2021-10-15 18:14:13 +11:00 committed by barryhughes
parent fc7c6f0b7f
commit 232e47611b
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}