Customize: Ensure the New Menu section is properly rendered.

Follow-up to [30102], [49101].

Props david.binda, boldgrid, dlh, azaozz, Clorith, westonruter, hellofromTonya.
Fixes #51592.

git-svn-id: https://develop.svn.wordpress.org/trunk@49323 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-10-27 02:46:27 +00:00
parent fff225ed0b
commit 89e10133e3
1 changed files with 1 additions and 1 deletions

View File

@ -3700,8 +3700,8 @@
parentContainer = ( section.contentContainer.is( 'ul' ) ) ? section.contentContainer : section.contentContainer.find( 'ul:first' );
if ( ! control.container.parent().is( parentContainer ) ) {
parentContainer.append( control.container );
control.renderContent();
}
control.renderContent();
control.deferred.embedded.resolve();
});
});