use reload() instead of reassigning href property

This commit is contained in:
Ron Rennick 2018-12-03 13:42:33 -04:00
parent 2fed9b94a3
commit dc41135a05
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ jQuery( function( $ ) {
// No form, cannot do this.
if ( $( '.woocommerce-cart-form' ).length === 0 ) {
window.location.href = window.location.href;
window.location.reload();
return;
}