Fixed "e is null" error on checkout page
Fixed "e is null" on checkout page which caused the order panel to be disabled.
This commit is contained in:
parent
6995e6ec84
commit
023d9fe9ed
|
@ -333,7 +333,7 @@ jQuery( function( $ ) {
|
|||
success: function( data ) {
|
||||
|
||||
// Reload the page if requested
|
||||
if ( true === data.reload ) {
|
||||
if ( data && true === data.reload ) {
|
||||
window.location.reload();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue