Update deprecated jQuery functions in includes folder

This commit is contained in:
roykho 2021-02-04 12:31:28 -08:00 committed by Jonathan Sadowski
parent 6a1e3eb85c
commit 37736799d6
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ jQuery( function( $ ) {
wp.customize.widgetsPreview.WidgetPartial wp.customize.widgetsPreview.WidgetPartial
); );
if ( hasSelectiveRefresh ) { if ( hasSelectiveRefresh ) {
wp.customize.selectiveRefresh.on( 'partial-content-rendered', function() { wp.customize.selectiveRefresh.bind( 'partial-content-rendered', function() {
refresh_cart_fragment(); refresh_cart_fragment();
} ); } );
} }