Update cart-fragments.js to remove deprecated jQuery bind function
This commit is contained in:
parent
f5b3556e14
commit
294b257710
|
@ -180,7 +180,7 @@ jQuery( function( $ ) {
|
|||
wp.customize.widgetsPreview.WidgetPartial
|
||||
);
|
||||
if ( hasSelectiveRefresh ) {
|
||||
wp.customize.selectiveRefresh.bind( 'partial-content-rendered', function() {
|
||||
wp.customize.selectiveRefresh.on( 'partial-content-rendered', function() {
|
||||
refresh_cart_fragment();
|
||||
} );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue