'.widget', not '.postbox' in [18635], props aaroncampbell, see #17979

git-svn-id: https://develop.svn.wordpress.org/trunk@18636 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2011-09-03 21:45:01 +00:00
parent b483e4a464
commit a967718ed3
2 changed files with 2 additions and 2 deletions

View File

@ -143,7 +143,7 @@ wpWidgets = {
if ( !$(this).is(':visible') || this.id.indexOf('orphaned_widgets') != -1 )
sender.sortable('cancel');
if ( sender.attr('id').indexOf('orphaned_widgets') != -1 && !sender.children('.postbox').length ) {
if ( sender.attr('id').indexOf('orphaned_widgets') != -1 && !sender.children('.widget').length ) {
sender.parents('.orphan-sidebar').slideUp(400, function(){ $(this).remove(); });
}
}

File diff suppressed because one or more lines are too long