Skip to content

Commit

Permalink
Fixes #30828
Browse files Browse the repository at this point in the history
  • Loading branch information
drjamesj committed Oct 15, 2021
1 parent 990f705 commit fdedf13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/frontend/checkout.js
Expand Up @@ -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 );
}
Expand Down

0 comments on commit fdedf13

Please sign in to comment.