Customizer: Hide the reorder-widgets button when a widget area is empty.

props celloexpressions.
fixes #27787.

git-svn-id: https://develop.svn.wordpress.org/trunk@31255 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2015-01-20 22:44:11 +00:00
parent 5fdc8a8364
commit 3089d4d6cc

View File

@ -1644,7 +1644,10 @@
});
if ( ! widgetControls.length ) {
this.container.find( '.reorder-toggle' ).hide();
return;
} else {
this.container.find( '.reorder-toggle' ).show();
}
$( widgetControls ).each( function () {