use reload() instead of reassigning href property
This commit is contained in:
parent
2fed9b94a3
commit
dc41135a05
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue