Update deprecated jQuery functions in includes folder
This commit is contained in:
parent
6a1e3eb85c
commit
37736799d6
|
@ -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();
|
||||||
} );
|
} );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue