Update cart-fragments.js to remove deprecated jQuery bind function

This commit is contained in:
Jonathan Sadowski 2021-02-24 12:25:17 -06:00
parent f5b3556e14
commit 294b257710
1 changed files with 1 additions and 1 deletions

View File

@ -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();
} );
}