'.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:
parent
b483e4a464
commit
a967718ed3
@ -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
Loading…
Reference in New Issue
Block a user