Ensure that widget carets close when dragging an expanded widget.
Props sdavis2702, mindctrl. Fixes #33578. git-svn-id: https://develop.svn.wordpress.org/trunk@34165 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
030747e429
commit
8df7bd75b6
@ -178,6 +178,7 @@ wpWidgets = {
|
||||
inside = ui.item.children('.widget-inside');
|
||||
|
||||
if ( inside.css('display') === 'block' ) {
|
||||
ui.item.removeClass('open');
|
||||
inside.hide();
|
||||
$(this).sortable('refreshPositions');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user