Revert load function

This commit is contained in:
roykho 2021-02-04 10:57:55 -08:00 committed by Jonathan Sadowski
parent 242949850d
commit 09aabeeb6f
1 changed files with 1 additions and 1 deletions

View File

@ -495,7 +495,7 @@ jQuery( function( $ ) {
var this_page = window.location.toString();
this_page = this_page.replace( 'post-new.php?', 'post.php?post=' + woocommerce_admin_meta_boxes.post_id + '&action=edit&' );
$( '#variable_product_options' ).on( 'load', this_page + ' #variable_product_options_inner', function() {
$( '#variable_product_options' ).load( this_page + ' #variable_product_options_inner', function() {
$( '#variable_product_options' ).trigger( 'reload' );
} );
}