summaryrefslogtreecommitdiffstatshomepage
path: root/src/js/_enqueues/wp/customize/controls.js
diff options
context:
space:
mode:
authorSergey Biryukov <sergeybiryukov@git.wordpress.org>2020-10-27 02:46:27 +0000
committerSergey Biryukov <sergeybiryukov@git.wordpress.org>2020-10-27 02:46:27 +0000
commit89e10133e345766b107ac0c4c428a6cbb6ce5960 (patch)
tree8fb5cea71388f145ed797c8a8b6ffdd885be083f /src/js/_enqueues/wp/customize/controls.js
parentfff225ed0beec273a02e1f85f17af16345956fe1 (diff)
downloadwordpress-89e10133e345766b107ac0c4c428a6cbb6ce5960.tar.gz
wordpress-89e10133e345766b107ac0c4c428a6cbb6ce5960.zip
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
Diffstat (limited to 'src/js/_enqueues/wp/customize/controls.js')
-rw-r--r--src/js/_enqueues/wp/customize/controls.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/_enqueues/wp/customize/controls.js b/src/js/_enqueues/wp/customize/controls.js
index 484ac5a49b..0c359c79c6 100644
--- a/src/js/_enqueues/wp/customize/controls.js
+++ b/src/js/_enqueues/wp/customize/controls.js
@@ -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();
});
});