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:
Scott Taylor 2015-09-15 03:09:35 +00:00
parent 030747e429
commit 8df7bd75b6
1 changed files with 1 additions and 0 deletions

View File

@ -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');
}