mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-19 10:44:24 +00:00
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:
@@ -1644,7 +1644,10 @@
|
||||
});
|
||||
|
||||
if ( ! widgetControls.length ) {
|
||||
this.container.find( '.reorder-toggle' ).hide();
|
||||
return;
|
||||
} else {
|
||||
this.container.find( '.reorder-toggle' ).show();
|
||||
}
|
||||
|
||||
$( widgetControls ).each( function () {
|
||||
|
||||
Reference in New Issue
Block a user